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! Request now

Reply
Ivan93l
Frequent Visitor

Dynamic measure selection and formating

Hello everybody,

 

Hope you can  help me with this.

 

I have a slicer that allows the user to select the measure to be displayed in some line charts( ex: total sales or % of sales ).

This works fine and if the users choose a measure it will change the value of the line chart.

 

Till now everything is fine, but I need to also format the values that are displayed. I have integers, percentages, currency...

I cant add the format function because it wont because it transform the value to a string.
 
I also tried with calculation groups and it changes the measure format but it changes the tooltip values as well. I do not want that because I have some Period Over Period calculations in there.
 
This questions is quite similar to mine:
 
Thank you in advance.
 
2 REPLIES 2
amitchandak
Super User
Super User

@Ivan93l , Not very clear. See if  Calculation groups can help
https://docs.microsoft.com/en-us/analysis-services/tabular-models/calculation-groups?view=asallprodu...

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

Hello, thanks for your reply.

Here is more or less what I ask No Chart Values if DAX format? - Microsoft Power BI Community

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