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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Arne819
Frequent Visitor

ChangingDisplay Format Based on a Slicer

Hi there, I was wondering if I could make a user select a unit, e.g., Mio, Tsd and it would automatically change over the report. I was thinking about making a measure with a switch based on a parameter. But this would mean I would need a lot of measures. In the picture below, I show what I want. So my question is: Is there a more elegant way or an option that I missed? Thanks for taking the time to read this. 

Cheers Arne. 


Arne819_0-1691392455545.png

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @Arne819,

I'd like to suggest you take a look at the dynamic formatting string features:

Create dynamic format strings for measures in Power BI Desktop - Power BI | Microsoft Learn

If the above not helps, you can also try to use field parameter with calculate groups to achieve dynamic format:

Field parameters in cooperation with Calculation groups (linkedin.com)

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @Arne819,

I'd like to suggest you take a look at the dynamic formatting string features:

Create dynamic format strings for measures in Power BI Desktop - Power BI | Microsoft Learn

If the above not helps, you can also try to use field parameter with calculate groups to achieve dynamic format:

Field parameters in cooperation with Calculation groups (linkedin.com)

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Ty worked fine for me 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.