Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
76 | |
61 | |
37 | |
33 |
User | Count |
---|---|
99 | |
56 | |
51 | |
42 | |
40 |