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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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