March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |