Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have really strange Color Formatting behaviour.
I have a measure that tells me a value, if the value is above a certain threshold I get "red", otherwise, I get "Green", normal easy stuff.
However, when I put this into a line/area chart and put YearMonth or hierarchy Year Month, it doesn't take this filter context and it evaluates against value without any filter context. Strangely enough, it works in a table visual.
The measure is like this:
ColorCheck_SLA_AP_Timing =
var SLA_AP_Timing = [SLA_AP_Timing]
var colorAssigment = IF ( SLA_AP_Timing <= 4.12, "#43B02A", "#C8102E")
return colorAssigment
My visuals:
Measure without any filter context return 4.11. So, the whole area chart evaluates based on that. Any help is appreciated, thank you.
I think this is the same root problem as a conditional formatting on chart labels I reported to Microsoft. It's like some portions of the chart (labels for example) don't feed the correct filter context to the engine.
https://community.powerbi.com/t5/Issues/Conditional-formatting-of-chart-axis-labels-problem/idi-p/21...
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
75 | |
73 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |