Hello,
After installing OLAP Services, I thought I'd be able to incorporate the MDX functions(specifically IIF) into my SELECT statements with something like this:
SELECT [Evaluation_Date],fn_tblEvalSwitch([Period_Code])AS
'Period',fn_tblEvalSwitch([Audit_Indicator])AS
'Audited',fn_tblEvalSwitch([Trade_Settle_Indicator]),IIf([Trade_Settle_Indicator])='M', 'Yes', 'No')
FROM tblEvaluation
..but I keep getting "'IIf' is not a recognized function name" error.
Thanks for any assistance........
After installing OLAP Services, I thought I'd be able to incorporate the MDX functions(specifically IIF) into my SELECT statements with something like this:
SELECT [Evaluation_Date],fn_tblEvalSwitch([Period_Code])AS
'Period',fn_tblEvalSwitch([Audit_Indicator])AS
'Audited',fn_tblEvalSwitch([Trade_Settle_Indicator]),IIf([Trade_Settle_Indicator])='M', 'Yes', 'No')
FROM tblEvaluation
..but I keep getting "'IIf' is not a recognized function name" error.
Thanks for any assistance........