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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
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.

Top Solution Authors