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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
dggauthier
New Member

Caclulation Group Based on Another Calculation Group

Hello! 

I have a report in which I have a few simple metrics like SUM(Sales), Sum(Total), Sum(Tax), etc. I have also created a relative time calculation group that allows for further filtering based on relative time scenarios like MTD This Year, MTD Last Year, MTD YOY % (see screenshot). 

dggauthier_0-1697211197693.png

This works great and I can now do two things: 1) I can use a slicer with the relative time group so that I can select "MTD LY" and get the corresponding value, and 2) I can further create additional measures defined like 

Total MTD LY = CALCULATE('~ Measures'[Total],FILTER('Relative Time','Relative Time'[Relative Time]="MTD LY")). 

What I am wondering is if there is an elegant way using calculation groups to split the MTD, QTD, YTD from the TY, LY, YOY% so that I can use the same base metric in all my visualizations and apply two filters to get the desired result?

Thanks!

 

1 REPLY 1
amitchandak
Super User
Super User

@dggauthier , I have covered similar example here

 

see if this can help

amitchandak_0-1697214433626.png

 

 

Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : https://youtu.be/qMNv67P8Go0

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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