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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
PBrainNWH
Helper II
Helper II

Calculations on Calculated Table

Any way to create calculations on this table? I need to divide the Donations by the # fields.
 
Donations by Customer by FY =
SUMMARIZE(
    'Opportunity Contact Role',
    'Opportunity Contact Role'[ContactId]Contact[Full_Name_with_Nickname__c],'Opportunity Contact Role'[Role],
    "2023 Donations"CALCULATE(SUM('Opportunity Contact Role'[Amount__c])+0'Opportunity Contact Role'[Close_Date__c] >= DATE(202271) && 'Opportunity Contact Role'[Close_Date__c] <= DATE(2023630)),
    "2024 Donations"CALCULATE(SUM('Opportunity Contact Role'[Amount__c])+0'Opportunity Contact Role'[Close_Date__c] >= DATE(202371) && 'Opportunity Contact Role'[Close_Date__c] <= DATE(2024630)),
    "2025 Donations"CALCULATE(SUM('Opportunity Contact Role'[Amount__c])+0'Opportunity Contact Role'[Close_Date__c] >= DATE(202471) && 'Opportunity Contact Role'[Close_Date__c] <= DATE(2025630)),
    "2023 # of Donations"CALCULATE(COUNT('Opportunity Contact Role'[Close_Date__c])+0,'Opportunity Contact Role'[Close_Date__c] >= DATE(202271) && 'Opportunity Contact Role'[Close_Date__c] < DATE(202371)),
    "2024 # of Donations"CALCULATE(COUNT('Opportunity Contact Role'[Close_Date__c])+0,'Opportunity Contact Role'[Close_Date__c] >= DATE(202371) && 'Opportunity Contact Role'[Close_Date__c] < DATE(202471)),
    "2025 # of Donations"CALCULATE(COUNT('Opportunity Contact Role'[Close_Date__c])+0,'Opportunity Contact Role'[Close_Date__c] >= DATE(202471) && 'Opportunity Contact Role'[Close_Date__c] < DATE(202571))
)
I need to be able to divide Donations by # (ex. 2023 Donations/2023 # of Donations)

I can't seem to find the appropriate syntax to do this on my calculated table. 
1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @PBrainNWH - Can you please share some sample data for reference with expectations.

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
rajendraongole1
Super User
Super User

Hi @PBrainNWH - Can you please share some sample data for reference with expectations.

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.