We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I created a related post earlier today but I wanted to break this issue out separately. I am using the format string "#,#,;(#,#);" to display my values in thousands. The issue I have is if the value is between -1 and -999 then the format string returns empty parens "()" which looks silly but is also confused for 0/zero, which further leads to inconsistencies in formatting since zero is displayed as blank.
Is there a way to suppress these empty parens?
Hi @delish_hins
On top of soultion provided by Greg Deckler, you give a try solve your issue. Create a calculated column that formats the values based on your condition.
Salesformattedvalu =
IF(
[Sales] < -1 && [Sales] > -999,
"(" & FORMAT([Sales], "#,#") & ")",
FORMAT([Sales], "#,#;(#,#);0;"))
Let me know if it works!
Thanks!
Thanks. Something similar to this is where I landed for my original issue but I still have some empty parens even though my measure is supposed to return blank when when the value is between -999 and -1.
@delish_hins I suppose you could conditionally format that if the value is between -1 and -999 that the font color is white.
I'm doing something similar in other cases but in this particular matrix I'm using a single measure and a calculation group that is returning both $ and % and the conditional formatting functionality doesn't appear to be capable of handling both unfortunately.
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 54 | |
| 37 | |
| 32 | |
| 17 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 37 | |
| 34 | |
| 22 |