The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Good day,
I am using the type of card "Card with States by OKVIZ" for some dashboards that I create in power bi desktop. In the case of positive values I am showing them in a green color, and in the case of negative values in red. The problem I have is that the company management wants the "+" sign to appear in front of the value in positive values (with green color), since the card appears by default in negative values.
Is there a way to add this "+" sign?
From already thank you very much.
Regards.
Solved! Go to Solution.
Hi @ClaudioL
You can do this by providing a custom number format for the measure/column that you are displaying on the visual.
Go to the Model tab, select the colum/measure, and under Formatting choose Format = Custom and enter a format like
+0;-0;0
(Microsoft documentation page)
I tested this with the Card with States visual and it works fine.
Regards
Owen
Try the below COde:
Try the below COde:
Hi @ClaudioL
You can do this by providing a custom number format for the measure/column that you are displaying on the visual.
Go to the Model tab, select the colum/measure, and under Formatting choose Format = Custom and enter a format like
+0;-0;0
(Microsoft documentation page)
I tested this with the Card with States visual and it works fine.
Regards
Owen
Custom format option is not available for on-premises, so this solution is not correct.
By "on premises" I mean Power BI Report server. Observed it just now. Power BI Desktop's version for the report server does not provide option for "custom" format for the measure
Interesting...I tried installing the latest version of Power BI Desktop (Report Server version) and was able to change measure format strings, in Measure tools on the ribbon and Model View.
Which version of Power BI Desktop RS are you using, and just confirming you're working in a PBIX containing the dataset?
Please fix your signature, it's terrifying. 2/3 of the post space is taken by signature making it completely unreadable
Version is 2.105.1143.0 (May 2022) which seems to be the latest. Yes, PBIX contains the dataset, it's not offloaded to some tabular storage.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
122 | |
85 | |
77 | |
55 | |
48 |
User | Count |
---|---|
136 | |
128 | |
78 | |
64 | |
63 |