Guest_imported
New member
- Jan 1, 1970
- 0
Hi
I have a cube that has several measures. A couple of the measures need to be conditional:
ie. Measure1 = sum of orders where prod type = 'abc'
Measure2 = sum of orders where prod type = 'def'
I figure I will have to create calculated measures for this but can't work out the correct statement for the above
IIF(prod type = 'abc', sum orders, 0) does not work ... where am I going wrong?
Thanx
Vamp
I have a cube that has several measures. A couple of the measures need to be conditional:
ie. Measure1 = sum of orders where prod type = 'abc'
Measure2 = sum of orders where prod type = 'def'
I figure I will have to create calculated measures for this but can't work out the correct statement for the above
IIF(prod type = 'abc', sum orders, 0) does not work ... where am I going wrong?
Thanx
Vamp