Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem using MDX function "lif"

Status
Not open for further replies.

ashanti

MIS
Aug 1, 2001
3
US
IIf(«Logical Expression», «Numeric Expression1», «Numeric Expression2»)

Can I return string expression2 when false, because I am
getting error. How do you go around this ???

Original Code
Iif([Measures].[N]>30, (([Measures].[N]/[Measures].[Qtr N])*100), "*")

Thank you
 

The documentation indicates that the return arguments can either both be numeric or string. Apparently, data types cannot be mixed. Terry L. Broadbent
faq183-874 contains some tips and ideas for posting questions in these forums. Please review it and comment if you have time.
NOTE: Reference to the FAQ is part of my signature and is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top