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
jaryszek
Memorable Member
Memorable Member

Trying to set up calculation groups in order to show daily or monthly costs

Hello,

I have a model like that:

jaryszek_0-1761903514366.png


And trying to set up calculation groups to show amortized cost (daily or monthly) based on a selection from slicer. It should also adjust X-axis on the chart. So if Day is chosen, we want to have days on X-axis, if MonthName, we want to see Month total amortized cost. 

I put the slicer:

jaryszek_2-1761903718723.png


And now I want to show, based on selection,the total amortized cost daily or monthly:

Total Amortized Cost (Daily) = 
    SUM ( 'fct_amortizedcosts_daily'[CostInBillingCurrency] )

 

Total Amortized Cost (Monthly) = 
    SUM ( 'fct_amortized_monthly'[CostInBillingCurrency] )


My calculation group:

jaryszek_3-1761903803307.png

My chart:

jaryszek_0-1761904098643.png

 

How to do this? 
Is it possible to change X-axis based on selection? 

Maybe with using a field parameter connected to MonthName and Day? 
Can anybody help?

My model is on my disc:
https://drive.google.com/file/d/16EOv3bVoeVKhIpyb0AqhJnx3CVI_M3yy/view?usp=sharing


I have watched all available videos but didn't find the same schema approach like mine.

Best,
Jacek



 

 



3 REPLIES 3
pbiuseruk
Resolver III
Resolver III

The only way I've seen of changing the axis on a visual is to use field parameters - worth trying to inject the field parameter into the calculation group. I haven't got much experience with calculation groups but this is very easy to do with normal dax measures.

Hi @jaryszek ,
Thanks for reaching out to the Microsoft fabric community forum. 

 

I would also take a moment to thank @pbiuseruk   , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.

I hope the below details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you 

 

Best Regards, 
Community Support Team  

Hi,

nope it didn't unfortunately it is just a general statement. 

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