I'm new to SSAS and cubes.
I have a simple database table:
product|value|status
-------|-----|------
A|100|1
B|20|0
A|20|0
B|80|1
Status field denotes whether it is planned sale or already closed one.
I'd like to have measures in the cube for Planned (0) sale and Closed(1) sale. They should sum value per product in given status.
Output cube should look as follows:
product|planned sale|closed sale
------|---------|-----------
A|20|100
B|20|80
I have measure for value and status. However, no matter how I slice the function, boolean in status is aggregated. I guess my measure is configured wrong. I tried setting it to boolean, however it appears to do "and" computation.
I tried IFF and .currentmember hoping it would iterate.
I must be missing something basic, please help. Thank you.