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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

How to make combined ABC from 5 tables?

Hi 

 

I have 5 tables where I have made ABC calculation for each one separate in a calculated column in each table:

 

Rank 2020 =
VAR DemandQC2020 = 'QC'[QC 2020]
VAR AlldemandQC2020 = ALL('QC'[QC 2020])
Return
COUNTROWS(
FILTER(
AlldemandQC2020;
'QC'[QC 2020] > DemandQC2020
)
) +1
 
Cumulative =
CALCULATE(
SUM('QC'[QC 2020]);
ALL('QC');
QC[QC 2020]>= EARLIER(QC[QC 2020])
 
Cumulative% =
QC[Cumulative]/SUM('QC'[QC 2020])
 
ABC QC =
SWITCH(
TRUE();
QC[Cumulative%] <= 0,7; "A";
QC[Cumulative%] <= 0,9; "B";
"C"
)
)
 
This will give me ABC for each, but I want to combine alltogether and I have started to working with a new table called New sales total and I have managed to get item(articles) and the combined qty (with help of sum measurement).
 
I am trying to follow the same logic for the combined column as the induvidual, but things are not turning out correct.
I am looking for guidance in this.
 
 
2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

I'm not sure what you want to achieve. Could you please share some sample data and clarify more details about your issue?

 

Regards,

Jimmy Tao

Anonymous
Not applicable

Helpful resources

Announcements
Europe Fabric Conference

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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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