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
The measure would look something like
MOM Display = MAX('YourTable'[MOMField])Nothing all that fancy, now if you bring that into the table as if it was a field, it should display the same information.
Thanks Anonymous,
I created this measure (which gave me the right number), but it still doesn't seem to work!
- Anonymous8 years agoNot applicable
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.
- Anonymous8 years agoNot applicable
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?