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

Divide sum of one column by sum of another column with applied slicer

I have the below data table. 

 

Loan NumberLoan AmountDivisional bpsDiv Concession $Actual Div BPS
1707292$1,094,1800.5$5,470.900
1801566$456,3001.12$5,110.560
1802860$340,0001.391$4,729.400
1801866$843,4060.45$3,795.330
1803235$502,5000.75$3,768.750
1801466$679,6500.527$3,581.760
1801730$300,0001.115$3,345.000
1715250$222,4001.504$3,344.900
1707887$1,000,0000.332$3,320.000
 $5,438,436 $36,466.60 

 

 

For actual DIV BPS i'm using the below calculation: 

Actual Div BPS = SUM('LoanMaster (2)'[Div Concession $])/Sum('LoanMaster (2)'[Loan Amount])

 

It's not pulling correctly when I have either a Date or Sales Person Slicer applied. Not sure how to get this to work. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Figured it out! had to do Measures not columns! 1 for each total then divide! 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Figured it out! had to do Measures not columns! 1 for each total then divide! 

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.