Forum Discussion

Jyo27's avatar
Jyo27
Helper II
2 years ago

Need Calculations

Hi Everyone,

 

Need some help in creating measures/columns . Have Category ,Qty and count columns and based on Category selection filter it should show the ratio column . Ratio is (Count for each Category)/(Total qty for all the selected Categories ). 

 

CategoryQtycountRatio
A1110.027027
B1110.027027
C1210.027027
D320.054054
Total37  

 

If Category 'A' and 'B' is selected on slicer then it should show the output below:

CategoryQtycountRatio
A1110.045455
B1110.045455
Total22