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'm working on bar chart with x-axis contain year & week arrangement. I want to apply some conditional formatting on x-axis label to give indication of particular week, ie. week 43 with different color against the rest. i have arrange additional column 'cweek' contain '0' and '1' to differentiate current week vs the rest.
However, when i apply conditional formatting, with any method, turns out all the color still same and no difference on current week. (gradient, rules, field value with column 'cweekcol'). Any idea how to work on conditional formatting or 1-0 condition cannot work here?
i prefer to apply coloring in the x axis label, not the data label, bar to ensure the color is there even when the data is zero (bar not shown).
conditional_formatting_color_xaxislabel
thanks in advance.
Solved! Go to Solution.
@yudhi5 Hi!
There is no way you can do it, because in the axis of the chart, as in the title, you are not in the filter context, so it applies the same value to all the labels, he cannot understand the underlying value what you see.
BBF
Hi, @yudhi5!
I have exctally the same need that you, but the conditional formatting is not working as well. All the axis-label changed but don't how the filter was builded.
Do you find any solution to this?
Thank you very much!
Same problem any resolution 😞
Why there is a conditional formatting pane if this doesn't works with the filter context?
Mah!
Please change the condition like below see if it works for you. Instead of percent use number
Is not the same FX option.
There isn't the icon field.
Thank you in any case.
@yudhi5 Hi!
There is no way you can do it, because in the axis of the chart, as in the title, you are not in the filter context, so it applies the same value to all the labels, he cannot understand the underlying value what you see.
BBF
thanks for this explanation, ive been pulling my hair our trying to work out why my axis wasnt shows the correct colour, and from your explanation i realies that i was using another table to provide the X-axis therefore my condiditonal formatiing has no idea of the value of my calculation...
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |