Forum Discussion
Conditional Formatting on %
Hi,
I'm trying to put some conditional formatting on %s in a matrix table, but it doesn't seem to be working...
any ideas?
Thank you!
Sonia
- 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
12 Replies
- AnonymousNot applicable
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.
- AnonymousNot 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...
- AnonymousNot 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.
- AnonymousNot applicable
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