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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

change formating based on account name

Hello,

I would like to apply 2 decimals to my table, however, when the account name = "OG" ," RIG", "Price", i would need 4 decimals, is there any formula to apply different formatting? 

akerrout_0-1685437124977.png

 

for all the account that are in % i would like to change the formating.
I have tought about using an IF foncion + related formula for the formatting condition.


Best regards.


Anis Kerrout

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , I think new dynamic format string can help

https://powerbi.microsoft.com/en-us/blog/deep-dive-into-the-new-dynamic-format-strings-for-measures/

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , I think new dynamic format string can help

https://powerbi.microsoft.com/en-us/blog/deep-dive-into-the-new-dynamic-format-strings-for-measures/

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
Anonymous
Not applicable

THank you@amitchandak ,
I am trying to set my  formating referring to a column which is " Account " and not a measure.
And i wasnt able to find a way in using the dynamic formating.

akerrout_0-1685457237092.png

thank you for you help

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.