Hi,
I need to conditional distinct count at cube. But I don't know how can I do .
My fact table below . I want to count distinct STORE_ID that AMOUNT>0 , how can I write distinct count calculated member ?
CUSTOMER_ID | STORE_ID | PROD_ID | Amount |
1173221 | 136928 | 2923205 | 1,555 |
1173221 | 136928 | 2923185 | 1,555 |
1173221 | 136928 | 2923189 | 1,555 |
1173221 | 136928 | 3146298 | 1,556 |
1173221 | 140772 | 2640408 | 1 |
1173221 | 140772 | 2640409 | 1 |
1173221 | 140772 | 2655066 | -100 |
1173221 | 140772 | 2655067 | 0,833 |
1173225 | 144661 | 2691210 | 0 |
1314105 | 145837 | 2222856 | 8,75 |
1173221 | 146272 | 3056197 | 0,5 |
Thanks for your helps.