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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors