June 7, 2011 at 12:34 pm
Ok I have a calculation defined as
[Measures].[Measures Exceptions Count]/IIF(STRTOVALUE([Agencies].[Agency List].Properties( "User Count" ))<1,1,IIF(ISEMPTY([Agencies].[Agency List].Properties( "User Count" )),1,[Agencies].[Agency List].Properties( "User Count" )))
And this works for all of my Agencies. but I also have an unknown value on the Agencies dimension set for Agencies that do not match my Agencies dimension.
How can I test for the Unknown value in a calculation? I can't seem to find a function for that.
June 7, 2011 at 2:34 pm
Finally came up with a fix...
wrapped the whole thing in
IIF(ISERROR(originalcalculation),measurevalue,originalcalculation)
It works... not as nicely as I believe it should... but it works.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy