Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Help create simple ABC-analysis in PowerBI visual

Hi,

 

I'm fairly new to PowerBI, and tried to scan all resources available and also with "trial and error" without success on the below question, so now hoping for your help to find a good solution. 

 

I have a table with the following structure (More complex in reality):

ProductnameCategory lvl 1Category lvl 2Sales
Product 1"Category lvl 1" 1"Category lvl 2" 15
Product 2"Category lvl 1" 1"Category lvl 2" 15
Product 3"Category lvl 1" 1"Category lvl 2" 110
Product 4"Category lvl 1" 1"Category lvl 2" 110
Product 5"Category lvl 1" 1"Category lvl 2" 135
Product 6"Category lvl 1" 1"Category lvl 2" 135
Product 7"Category lvl 1" 1"Category lvl 2" 25
Product 8"Category lvl 1" 1"Category lvl 2" 25
Product 9"Category lvl 1" 1"Category lvl 2" 210
Product 10"Category lvl 1" 1"Category lvl 2" 210
Product 11"Category lvl 1" 1"Category lvl 2" 235
Product 12"Category lvl 1" 1"Category lvl 2" 235

 

And what I want to accomplish in my "visual" is a table/matrix looking like this: (Base on ABC-analysis, A= first 70%, B = 20%, C=10%)

Category lvl 1Category lvl 2ABC-classificationProductnameSalesSales%
"Category lvl 1" 1   200100%
 "Category lvl 2" 1  10050%
  A 7070%
   Product 53535%
   Product 63535%
  B 2020%
   Product 31010%
   Product 41010%
  C 1010%
   Product 155%
   Product 255%
 "Category lvl 2" 2  10050%
  A 7070%
   Product 113535%
   Product 123535%
  B 2020%
   Product 91010%
   Product 101010%
  C 1010%
   Product 755%
   Product 855%

 

I believe that I have solved the measure "Sales%" so that it aggregates on different levels etc, so what I need most is a pragmatic solution for the "static" ABC-analysis. (Should never change based on filtering etc.). 

 

Thanks in advance and hoping for your expertise in solving this.

 

BR

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Have you check this blog from Greg, if that can help

https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-ABC-Classification/td-p/479146

 

or

https://www.daxpatterns.com/abc-classification/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

To clarify my original table (Seems formatting cut some detials), in the column "Category lvl 2", the values shoudl be ("category lvl 2" 1) for the first half and ("category lvl 2" 2) for the second half.

 

BR

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.