March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi all,
I am struggling with applying conditional formatting to x-axis values:
I need to mark the weekend bars as well as their x-axis values with a different color.
I have managed to apply the conditional formatting to the bars themselves by creating a columns with the DayofWeekNumber and setting the rule as "if Sum of DayofWeekNumber is >5 then pink"
But for some reason this approach does not work with the x-axis labels (the actual words that say Saturday, June 25 etc.)
Does anyone have an idea how to implement this? Is it at all possible to implement conditional formatting for individual values of the x-axis or does it only work for the whole axis?
Solved! Go to Solution.
Hi @itskool ,
According to my knowledge, your requirement could not be realized currently. An idea similar with what you expect has been submitted in Microsoft Idea (powerbi.com)
You may vote the idea and comment to improve this feature. It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I realise this is an old thread, but this still seems to be the case.
Hi @itskool ,
According to my knowledge, your requirement could not be realized currently. An idea similar with what you expect has been submitted in Microsoft Idea (powerbi.com)
You may vote the idea and comment to improve this feature. It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@itskool , Create a color measure and use it in conditional formatting with the field value option
if( weekday(max('Date'[Date],2) >=6, "Pink", "Blue")
How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
Thanks for your reply.
Unfortunately, it still formats the whole axis, not just the weekend values.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
113 | |
77 | |
55 | |
54 | |
43 |
User | Count |
---|---|
183 | |
119 | |
77 | |
65 | |
56 |