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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
rpinxt
Solution Sage
Solution Sage

Formatting in a calculation group item

I made this calculation group items :

rpinxt_0-1714480819858.png

So 3 pieces. But 2 of them are pecentages.

The calculation group works just fine 

rpinxt_1-1714480885566.png

But when you select a percentage:

rpinxt_2-1714480947812.png

I would rather have a decent percentage with 1 decimal.

Can that be done?

 

 

 

1 ACCEPTED SOLUTION
audreygerred
Super User
Super User

Hello! You can create the format string to display as a percent. In Power BI, click on the calculation item that you want to format, then expand Formatting and toggle dynamic format string to on 

audreygerred_0-1714483331767.png

Once it is on, you can enter the formatting you want:

audreygerred_1-1714483413409.png

For percent you can do "#.#%" or however many decimal places you want.

 

You can do the same in Tabular Editor 2.

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

8 REPLIES 8
rpinxt
Solution Sage
Solution Sage

Ok @audreygerred I see why yours is working....
I converted my stacked column into a matrix:

rpinxt_0-1714487237907.png

Now it has also 1 decimal....🤔

 

Something in the formatting of the stacked column chart??

 

It could be - maybe in the stacked column you had it set to two decimals in the visual formating pane.

When I make a stacked column with my calculation group, I get the one decimal like I have specified:

audreygerred_0-1714488029072.png

However, if I change the formatting on the viusal itself to 2, then I have 2:

audreygerred_1-1714488073749.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Yes I made one from scratch and there was also only 1 decimal.

Will dig a bit deeper in my old stacked column to see if I can find something.

Otherwise nothing else to do than recreate.

Thanks for the info!

You are very welcome! Have a great day!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





audreygerred
Super User
Super User

Hello! You can create the format string to display as a percent. In Power BI, click on the calculation item that you want to format, then expand Formatting and toggle dynamic format string to on 

audreygerred_0-1714483331767.png

Once it is on, you can enter the formatting you want:

audreygerred_1-1714483413409.png

For percent you can do "#.#%" or however many decimal places you want.

 

You can do the same in Tabular Editor 2.

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Great @audreygerred ! I had that pane hidden. Thank for pointing it out.

However I am not yet fully there :

rpinxt_0-1714483826609.png

rpinxt_1-1714483856390.png

Still giving me 2 decimals. Which make everything above 9,99% not to show.

Any idea why I am not getting 1 decimal?

That is odd. I am not sure why it is still showing 2 decimal places. When I do mine, it works. In the table on the left I have the calgulation group in and YoY% is showing 1 decimal place like I have it formatted to do, and in my table on the right I added in the measure I have explicitly defined and it is showing two decimal places (like that measure is formatted to do). 

audreygerred_0-1714485549389.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Well that is strange and extremely anoying then.....

Doesn't matter what I do "#%" 2 decimals. "#,#%" 2 decimals "#.#%" 2 decimals....

 

In my old Tabular Editor solution I had "0.0%" but again 2 decimals...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.