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 data formats are the percentages? Have you tried creating a measure to display the information? I've had troubles in the past with Conditional Formatting which all resolved when i created a measure to do display the information.
- Anonymous8 years agoNot applicable
hi Anonymous,
Thanks for your response!
I tried creating new calculated columns to get the %, but it still doesn't seem to be working.
It's strange, because I've managed to do exactly the same thing before...
- Anonymous8 years agoNot applicable
Correct, calculated columns would produce the same issue. Measures are different but can be used to create a similar outcome for the purpose of a visual.
Measures are context sensitive, so you could write a measure to simply take the first value in a column (Text) or for a Max value of a number. If the context of your visual is such that you are getting 1 value per line anyway, the measures context will only ever be that single value. Thus the measure will provide you with the same result, but the conditional formatting seems to be kept happier.
- Anonymous8 years agoNot applicable
Thanks Anonymous!
Are you able to provide some more detail into the DAX i should use for the measure?
My calculated columns are just MOM change and YOY change
Thanks again!
Sonia