Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Calculated measure in SSAS Cube

$
0
0

Hi,

I am quite new to SSAS.

My fact table structure is like below -

Emp_ID    Flag    Emp_Type    Sales

1               1               111         100

2               1               110         150

2               1               110          50

3               0               110          90

4               1               110          100

my requirement is that I need to count distinct on Emp_ID for whom Flag = 1 and Emp_Type = 110. How can I achive this in calculated measure in SSAS Cube?

Thanks in advance.


Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>