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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ravneet_artist
New Member

Help on dynamic formatting for numeric values

In a dashboard, lets say i have some bar charts, columncharts, matrix etc., and in formatting of those charts, in display units, i can either select K or M, but i want values lesser than 1M in K and rest in M, i have a solution, but the problem is lets say i have 40 measures in use so i have to create 40 another just for formatting, but i want a single measure solution which i can plugin in formaating of that chart

1 ACCEPTED SOLUTION
KNP
Super User
Super User

@ravneet_artist - If it is visual specific, you could use 'Visual Calculations' to add a formatted column just for that visual.

 

KNP_1-1750966287115.png

 

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x

View solution in original post

6 REPLIES 6
v-achippa
Community Support
Community Support

Hi @ravneet_artist ,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Thank you @KNP and @Deku for the prompt response. 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the user resolved your issue? or let us know if you need any further assistance.
If any response resolved your issue, please mark it as "Accept as solution" and give a kudos if you found it helpful.

 

Thanks and regards,

Anjan Kumar Chippa

Hi @ravneet_artist ,

 

We wanted to kindly follow up to check if the solution provided by the user resolved your issue? or let us know if you need any further assistance.

If any response resolved your issue, please mark it as "Accept as solution" and give a kudos if you found it helpful.

 

Thanks and regards,

Anjan Kumar Chippa

Hi @ravneet_artist ,

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the user's resolved your issue? or let us know if you need any further assistance.
If any response resolved your issue, please mark it as "Accept as solution" and give a kudos if you found it helpful.

 

Thanks and regards,

Anjan Kumar Chippa

KNP
Super User
Super User

@ravneet_artist - If it is visual specific, you could use 'Visual Calculations' to add a formatted column just for that visual.

 

KNP_1-1750966287115.png

 

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x
KNP
Super User
Super User

Hi @ravneet_artist,

 

If calculation groups don't work for you, it sounds like you should be selecting 'Dynamic' for your measures formatting option.

This gives you more control over the way your measures are formatted. Although if it is just for the single visual this won't work.

 

I'll leave this here anyway, just in case it's useful...

 

KNP_0-1750965980414.png

 

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x
Deku
Super User
Super User

https://youtu.be/IVgjqL2AL2s?si=Rcn9IvSqpyvfgwEX

 

You could use the above in a calculation group. Add the calculation group to the visual and set the calc item to selectedmeasure(), for the format string of the calc item check if the result is numeric, if so apply the format string


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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