Error when using IIF on Source Column
Cannot add functions like:
iif("dbo"."FACT_Sales_order_transaction"."Delivere dQty" > 0,1,0)
on the Source Column property on a measure in my cube.
Get error "the column is not valid"
I'm sure it's a valid name !
I have a measure called so and
commands like "dbo"."FACT_Sales_order_transaction"."DeliveredQty "- "some other measure" works fine.
It works fine if I try the same on the Tutorial Sales cube:
iif("sales_fact_1998"."store_sales" > 0,1,0)
Only difference is "dbo"... Should work on SQL-server also ???
IIF and case on source column
Hi, I have the same problem:
with case:
case when ("dbo"."probando"."CHECK1") ="X" then "dbo"."probando"."EXISTENCIA" else 0 end
With IIF:
iif ("dbo"."probando"."CHECK1" ="X", "dbo"."probando"."EXISTENCIA", 0)
and with both I got the same the column doesnt exist
THX