cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Frequent Visitor

## ABC Analysis

Good Evening Everyone!

I have been working over the last few weeks on creating an ABC analysis however, I am still struggling with the calculations and formulas necessary to meet the requirements of the analysis I need to get done. This is somewhat due to being unable to find tutorials that can do an ABC analysis on so many levels and still be relatively new to DAX & PowerBI.

I have attached an image below to show what I need to achieve. Any help would be much appreciated.

Many Thanks,

1 ACCEPTED SOLUTION
Super User

Hi,

See if my solution in this file helps.  I think some of your answers in the ABC column are wrong.  Please check my ABC column,

Regards,
Ashish Mathur
http://www.ashishmathur.com
15 REPLIES 15
Helper III

Hi Ashish,

Is there a quick way to get following results using RANKX in ABC analysis?

1. Top 10% of annual cost to A
2. Between 10% and 50% of annual cost to B
3. Between 50% and 90% of annual cost to C
4. Bottom 10% of annual cost to D

Looking forward for your kind response.

Thanks & best regards,

PG

Super User

Hi,

Your question is not clear.  Share some data, describe the question and show the expected result.

Regards,
Ashish Mathur
http://www.ashishmathur.com
Helper III

Hi Ashish,

Thank you very much for your quick reponse and sorry for the delays from my side.

I have figured another way to define ABC which is working fine.

Thanks again. Have a wonderful day.

Best regards,

PG

Super User

Hi @Mack1int,

Regards,
Ashish Mathur
http://www.ashishmathur.com
Frequent Visitor
Super User

Hi,

See if my solution in this file helps.  I think some of your answers in the ABC column are wrong.  Please check my ABC column,

Regards,
Ashish Mathur
http://www.ashishmathur.com
Regular Visitor

Hi,

I have a similar requirement, based on Div/Cat and Gender and YTD Sales Data i need to classify the Article Codes as ABC. The articles which contributes to the 70% of sales will be calssified as A, 70% to 90% as B, and 90% above as C. Below is the sample data.

Super User

Hi,

Please study the file which i shared the link of in my post dated 23-11-2017.  Apply those formulas on your dataset as well.

Regards,
Ashish Mathur
http://www.ashishmathur.com
Regular Visitor

The file is not accessible , it says the item might not exist/no longer available. Could you please reshare it?

Thanks

Super User

The file has been deleted somehow and i do not have the link now.  Sorry for that.  Share an MS Excel file with your formula/Pivot Tables based workings there.  I will try to translate those formulas in the DAX language.  Give adequate notes/descriptions in the Excel file so that your intention can be well understood.

Regards,
Ashish Mathur
http://www.ashishmathur.com
Regular Visitor

https://we.tl/t-lzSbx44bEv

Please download the excel file from above link. My requirement is Div-Cat-Gender-Site code - based on these 4 columns the YTD Sales cumulative to be calculated , and the articles which are contributing to 70% of the Cumulative sales will be categorized as A, 70-95% as B and rest all as C. I have tried in excel as per this, not sure if it is 100%. Please input your valuable feedbacks/suggestions.  Thanks again

Super User

Hi,

My method is taking a lot of time to process and still not returning the correct result.  Please start a new thread.  I am sure others will help you.

Regards,
Ashish Mathur
http://www.ashishmathur.com
Regular Visitor

Sure Ashish, Thanks alot for taking the effort

Frequent Visitor

Thank You so much for all of your help!

Memorable Member

The SQLBI boys have pages about ABC Analysis on their daxpatterns site

They wrote the pages based on Excel and Powerpivot, but PowerBI uses the same model

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

http://www.daxpatterns.com/abc-classification-dynamic/

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

#### Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

#### New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors