Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register 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);-")
)
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 67 | |
| 32 | |
| 27 | |
| 26 |