Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi folks,
Dynamically formatting a number depending on the selected currency is great (loads of tutorials are available). But this will only work in a table visual :(. If I try to use this dynamic format in a bar chart or a pie charts, my measure is considered as a string, and doesn't show in the visual...
Is that something that any of you has managed to deal with, or is it a limitation of Power BI for now, while waiting maybe for the 'fx' icons of these visuals allowing a dynamic formatting of values?
Thx!
Solved! Go to Solution.
Hey @BenCardineau ,
you can do that with calculation groups. There you can change the way the text is displayed, but the number stays the same. For that reason you can also use it in charts.
Check the following tutorial on how to do that:
Change formatting of each individual value dynamically with Calculation Groups - What the fact.bi
Just FYI...
hum, actually it doesn't seem to work all the time:
- Bar or Column chart: no problem for data labels, but doesn't work for Total label (I added the formatting measure in the visual section of filter pane
- Tachometer 5 range: doesn't work
have you experienced the same @selimovd ?
Thx
Ben
Hey @BenCardineau ,
you can do that with calculation groups. There you can change the way the text is displayed, but the number stays the same. For that reason you can also use it in charts.
Check the following tutorial on how to do that:
Change formatting of each individual value dynamically with Calculation Groups - What the fact.bi
Hi @selimovd , you're a star!
It takes a while to get familiar with calculation groups (not so much the syntax in Tabular Editor, but more the fact you then must place the formatting 'measure' somewhere in the visual (in filter, or axis...). But other than this counter-intuitive usage of a formating measure, this is great!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Kudos to you!
Hi Ben,
Can you share your pbix files and some examples? I am facing the same issue and can't work it out although using the link provided.
Kind regards,
Tom
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
93 | |
75 | |
62 | |
50 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |