Forum Discussion
ABC Pareto analysis
Hi All,
I made a Pareto / ABC analysis in Powerbi. How can I calculate how many product do have an A status?
I want to put the result in a card.
5 Replies
- rsbin
Community Champion
Try a Measure like:
NewMeasure = CALCULATE( COUNTROWS(YourTable), FILTER(YourTable, YourTable[ABC] = "A" ))Then use this measure in your card visual.
Hope
- StevianneFrequent Visitor
Hi,
I already created an ABC/Pareto measure. ABC analysis is based on a measure not on an excisting table. Based on a filter this ABC analysis changes when I change the filter so you can call it a dynamic ABC analysis.
Based on this measure I want to know how many product do have an A status.
- v-henryk-mstf
Community Support
Hi Stevianne ,
According to your description, you want to add a filter condition on top of the number of statistics A, right? You may want to create the following measure and put it in Filter on this visual
Measure = var a = SELECTEDVALUE('Table'[slicer_field]) return IF(MAX('Table'[slicer_field])=a,1,0)
If the problem is still not resolved, please point it out and let me know immediately. Looking forward to your feedback.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. - Ashish_Mathur
Super User
Hi,
Share the link from where i can download your PBI file.