Forum Discussion
LyonsBI_BRL
Helper III
5 years agoCalculate Percentage by SKU category
I'm needing some help to calculate the over all percentage of each SKU. So this way I can create a card one showing the total number of times the customer has selected that SKU, as well as what per...
- 5 years ago
Figured it out thank you all though!! 🙂
Percent of SKU1 =VAR SKU =Sum('Grouped MainLOE'[SKURequested1])VAR SKUAll =SUMX(ALL('Grouped MainLOE'),'Grouped MainLOE'[SKURequested1])ReturnDIVIDE(SKU,SKUAll)
amitchandak
Super User
5 years agoLyonsBI_BRL , Based on what I got, You can right click on measure and use % of total in visualization.
Or create a measure
divide(count(Table[SKU]), calculate(count(Table[SKU]), allselected(Table)))
- LyonsBI_BRL5 years ago
Helper III
Figured it out thank you all though!! 🙂
Percent of SKU1 =VAR SKU =Sum('Grouped MainLOE'[SKURequested1])VAR SKUAll =SUMX(ALL('Grouped MainLOE'),'Grouped MainLOE'[SKURequested1])ReturnDIVIDE(SKU,SKUAll)