Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I am trying to configure my visualization online so that negative percentages are red and positive are green. I feel like I have the conditional formatting set right but the visual is wrong.
Solved! Go to Solution.
hi @Dalla_Terra - You can try the option to not set the values for the upper and lower limits highted in the below screenshot.
Just leave these values BLANK and Power BI will idenitify the limits based on the range of values available in your data.
Please mark the above comment as a solution to help others find it more quickly. Also please provide a 👍 if my comment helped with solving your issue. Thanks!
Proud to be a Super User!
hi @Dalla_Terra - You can try the option to not set the values for the upper and lower limits highted in the below screenshot.
Just leave these values BLANK and Power BI will idenitify the limits based on the range of values available in your data.
Please mark the above comment as a solution to help others find it more quickly. Also please provide a 👍 if my comment helped with solving your issue. Thanks!
Proud to be a Super User!
Thanks @Sumanth_23 this worked beautifully and it was a very simple solve, much appreciated!
@Dalla_Terra - Happy to help! 🙂
Proud to be a Super User!
Hi @Dalla_Terra ,
Try to create a measure like this then apply it to conditional formatting:
IF([YTD VAR%]>0,"green","red")
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the help. I like to creative approach but I didn't try it because I wanted to avoid creating another measure on top of the percent measure I was already using.
HI @Dalla_Terra ,
I think that the issue may be in the formula, your conditional formatting is set to "number" and you data is set to "percent". I think that you need to modify the color to be less than -9999 and less than 0. And the other one be greater/equal to 0 and less than 99999. OR, change those to percentages. If you change to percentages, just make sure that your data really is a percentage.
Proud to be a Datanaut!
Private message me for consulting or training needs.
Thanks for the reply. I tried your appraoch but it would not accept me changing the number to a percent with the inputs your recommended. I appreciate the help.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
19 | |
16 | |
15 | |
12 | |
11 |
User | Count |
---|---|
32 | |
25 | |
25 | |
19 | |
19 |