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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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