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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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