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
Hi Experts.
I have the following dax measure which kind of gives me the right answer..
%= if(left(trim(firstnonblank (grp[ReportHeaders], "")),1)="%",
Format (([measure] /100, "##0.0%;(##0.0%);-"),
Format (([measure], "##0.0;(##0.0);-")
)
Which converts value -1,800.0 to (1800.0) missing out the comma for thousands and like wide for positive values too.
How do I amend.
Solved! Go to Solution.
@Anonymous , not tested try if this can work
%= if(left(trim(firstnonblank (grp[ReportHeaders], "")),1)="%",
Format (([measure] /100, "#,##0.0%;(#,##0.0%);-"),
Format (([measure], "#,##0.0;(#,##0.0);-")
)
@Anonymous , not tested try if this can work
%= if(left(trim(firstnonblank (grp[ReportHeaders], "")),1)="%",
Format (([measure] /100, "#,##0.0%;(#,##0.0%);-"),
Format (([measure], "#,##0.0;(#,##0.0);-")
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 37 | |
| 35 | |
| 34 | |
| 28 |
| User | Count |
|---|---|
| 136 | |
| 99 | |
| 73 | |
| 66 | |
| 65 |