Forum Discussion
Conditional Formatting on %
- Anonymous8 years ago
Anonymous,
Please check my example in the PBIX file below. If you still have questions, please share sample data of your table.
https://1drv.ms/u/s!AhsotbnGu1NokzC8lquSkaLxwGmz
Regards,
Lydia
What are you putting into the conditional formatting? Can you screen shot it?
Remember that a percentage will be recorded as a decimal number. So 50% will actually be 0.50.
Sure, see above :)
yeah, i did notice that the measure comes out as a decimal. Is there anyway to change to display as % (if we can fix the cond form, haha)?
- Anonymous8 years agoNot applicable
Yes you can format as a percentage, all you need to do is click on the measure (after creating it you need to click elsewhere and click back). In the modelling section of the ribbon, there is an area to select the data type and the data format. You can select Percentage from there.
In the colour by rules, you should be able to select a single condition for each row. That being less than Zero and Greater than or equal to 0. I still would have expected this to work. I notice it is "Font Colour Scales", so part of me also wants to check if the change has happened but is a little subtle?
- Anonymous8 years agoNot applicable
Here is one that i did on some percentages. This one does red for below zero and green for above 0.
I used a colour gradient instead, but the theory should be similar:
- Anonymous8 years agoNot applicable
Thanks Anonymous,
still not changing my number! So strange... :(