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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
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);-")
)
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 51 | |
| 41 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 130 | |
| 111 | |
| 48 | |
| 30 | |
| 28 |