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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Help with Dynamic Format Strings and Calculation Items

Hi Power Bi Community,

 

Back again.  This time I could use some help with formatting strings with Calculation Items.

 

I have a calculation group "Table Filters" with calculation items that I'm using in a table visual.  This is the way to go for me because I have ~100 measures that these could be applied to.  Note for my table, I have a slicer (set on single select) that let's me change the measures (25 of them) from a parameter table.  

 

I cannot get the table values to display as "0.00%"  I've gone into the semantic model view to format the string.  I've tried the visualizations pane.  I've also tried the individual measure level under Measure tools. 

 

PowersBI_0-1706298064781.png

PowersBI_1-1706298123458.png

Under Measure tools:

PowersBI_2-1706298219507.png

Under Visualization Pane:

PowersBI_3-1706298932946.png

 

Bug? Limitation? Wrong method?  If anyone's got ideas, I'm all ears over here.  

 

Also, unrelated but if anyone knows a method to apply conditional color formatting to all series, rather than go into the visualization pane for every single measure, that would also be great.  

 

Thank you in advance! 

 

2 REPLIES 2
Anonymous
Not applicable

Unfortunately, your suggestion did not solve the issue.  🙁  

Daniel29195
Super User
Super User

@Anonymous 

 

 

did you try to use the format  function : 

at the end of your measure  :
return 

format( calculation , "%##.##")

 

 

let me know if it works for you . 

 

 

If my answer helped sort things out for you, feel free to give it a thumbs up and mark it as the solution! It makes a difference and might help someone else too. Thanks for spreading the good vibes! 👍🤠

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.