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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
sqaar__
Helper I
Helper I

How to sum total by date only without filer

Hi - 

 

I'm struggling with I hope very easy task. 

I have two file with data. One collects all refabrication detail such, as quantity, code, and date.

Another file has only data and value on how many we produce this day. 

 

I need to count % of scrap, basically, all refabrication / all produced.

 
Total_Refabrication = SUM(rejected_AFAB_Sheet[Ilość])
Total_Aligner_Produced = SUMX(Produced_Sheet,Produced_Sheet[Produced])
Scrap = [Total_Refabrication]/[Total_Aligner_Produced]
 
I set up the relationship to count it correctly, without that, the value "Total_Aligner_Produced was always the same
sqaar___0-1664793475329.png

 

But right now, I have a problem that each code count scrap only for part of daily produced, not from the total.

 

I.e

Weekly we made 19k

The top one by % show me AR12, which was 8 times, and the top 2 is MR which was 24 times

 

 

sqaar___1-1664793603296.pngsqaar___2-1664793615630.png

 

 

When I press AR12, produced value changes to 4502 instead of keeping total

sqaar___3-1664793690562.png

 

 so the divider is smaller 

 

MR24 is 16K (still not total), but the divider is higher, so % is smaller even if the total is higher.

sqaar___4-1664793715633.png

 

 

I tried to explain as much as I could.

Thank you in advance!

 

Regards,

Patryk

 

1 ACCEPTED SOLUTION
sqaar__
Helper I
Helper I

Solved,

 

Pretty simple,

CALCULATE(SUM(Produced_Sheet[Produced]),ALL(rejected_AFAB_Sheet))

View solution in original post

1 REPLY 1
sqaar__
Helper I
Helper I

Solved,

 

Pretty simple,

CALCULATE(SUM(Produced_Sheet[Produced]),ALL(rejected_AFAB_Sheet))

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors