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.
Hello,
I am having a hard time while applying conditional formatting based on multiple columns.
This is the chart I am trying to apply the conditional formatting on:
X is a calculated measure. Both the columns are from the same table in the model.
First, I tried to create a column like this to define the format:
According to this, the second row should turn red and the other two should remain green. But when I apply this on the conditional formatting on field X, this happens:
You can see that it is returning all the values as ‘green’ which shouldn’t be the case. Specially with the second value.
Also in the Font Color – X settings, why is it summarizing on ‘First’?
I tried to eliminate the CATEGORY column condition from the measure and kept it only on the condition if X > 0.75 but the result is the same. Even though if I apply conditional formatting on the X field directly via chart settings, it works perfectly fine. What could be the issue here? I want to use both Category and X for conditional formatting.
If it helps, there are other columns and measures other than these two in the table as well.
Please let me know how I can fix this. Thanks!
@Anonymous , Create a measure like this and try.
If([X] >.73 && max(net[Category]) ="FOOD" , "red", "green")
refer if needed
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 |
---|---|
40 | |
27 | |
20 | |
14 | |
8 |
User | Count |
---|---|
76 | |
48 | |
46 | |
20 | |
16 |