Forum Discussion
Formatting in a calculation group item
- 2 years ago
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
Once it is on, you can enter the formatting you want:
For percent you can do "#.#%" or however many decimal places you want.
You can do the same in Tabular Editor 2.
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:
However, if I change the formatting on the viusal itself to 2, then I have 2:
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!
- audreygerred2 years ago
Super User
You are very welcome! Have a great day!