Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I'm using calculation groups and one is to show the growth % form previous year.
I'm using the following Fromat String to format this calculation group: VAR Output =IF( SELECTEDMEASURE() >= 0, FORMAT( SELECTEDMEASURE(), "0%" ), UNICHAR(128315) & FORMAT( SELECTEDMEASURE() , "0%; (0%)" ) )RETURN"""" & Output
The format string shows the positive percentage normally, ex: 20%. When the percentage is negative there will be a red downward pointing triange then (20%), unless the negative amount is less than negative (50%). It appears that any percentage less than (50%) the negative symbol of "-" shows up infront of the red downward triangle.
I would like to keep it consistant. If one negative amount has the "-" they all should, or they all should not.
Can the Format String be rewritten to correct this, and/or can someone explain to me why this is happening?
Solved! Go to Solution.
Hi @RobRayborn
First off, to fix the issue I would suggest this format string which should give you the intended format:
"0%;" & UNICHAR ( 128315 ) & "(0%);0%"
To explain the issue:
Thank you. That worked perfectly.
Hi @RobRayborn
First off, to fix the issue I would suggest this format string which should give you the intended format:
"0%;" & UNICHAR ( 128315 ) & "(0%);0%"
To explain the issue:
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 70 | |
| 58 | |
| 27 | |
| 22 | |
| 20 |