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 August 31st. Request your voucher.

Reply
Meghbajaj
Frequent Visitor

Need Help with Sum with Grouping through Dates

Hello Community,
I have a table with ID, Dates, Fiscal Year, Bonus Type and Amount. The sum function performs the aggregation of amount over all of the dates. However, I require the sum of individual amount only. 

Meghbajaj_0-1678236980205.png

 

As example, in the image above, the Sum required is of Amount with respect to Bonus Type (Phone + Rent) for each Fiscal Year and ID.

Thanks for the suggestions.

1 ACCEPTED SOLUTION
RaocoSolutions
Regular Visitor

Power bi auto group by on all selected columns, You need to create a measure that ignores the "Bonus Type" from the group by. 

SumOfAmt_ID_FY = CALCULATE(SUM(Sheet1[Amount]),ALL(Sheet1[BonusType]))

RaocoSolutions_0-1678243864059.png

 






View solution in original post

1 REPLY 1
RaocoSolutions
Regular Visitor

Power bi auto group by on all selected columns, You need to create a measure that ignores the "Bonus Type" from the group by. 

SumOfAmt_ID_FY = CALCULATE(SUM(Sheet1[Amount]),ALL(Sheet1[BonusType]))

RaocoSolutions_0-1678243864059.png

 






Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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