Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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
User | Count |
---|---|
41 | |
27 | |
23 | |
18 | |
15 |
User | Count |
---|---|
54 | |
35 | |
19 | |
18 | |
15 |