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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Mack1int
Frequent Visitor

2 Item ABC

Good Morning All,

 

 I have an ABC analysis in a static normalised table that I created but I am now have issue where when I have just 2 items for a location,brand. The problem is that the segmentation does not give the results I need; either A/C or B/C because of the way the formual works when with cumulative percentage. I just need help writing a clause that says when there are 2 items for Location /Brand it just needs to be "A" and "B" based on the sales revenue and not on the cumulative percentage. Any help would be much appreciated.

 

This is the current calculated column I am using for the ABC segmentation.

 

ABC Product =
SWITCH (
TRUE,
ABC[Cumulated Percentage] <= 0.8, "A",
ABC[Cumulated Percentage] <= 0.95, "B",
"C"
)

1 ACCEPTED SOLUTION
afzalphatan
Resolver I
Resolver I

Hope formula in the pic does ur job...Kudos

 

Ans.PNG

View solution in original post

4 REPLIES 4
afzalphatan
Resolver I
Resolver I

Hope formula in the pic does ur job...Kudos

 

Ans.PNG

Amazing @afzalphatan!! I hope you have a great weekend.

v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Mack1int,

 

To better illustrate your scenario, please share some sample data and show us your desired output.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Screenshot (17).png

@v-yulgu-msft Thank you for your reply, I hope this image helps. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.