Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello There,
I am having a column chart where
X: Machine
Y: Actual Performance
Where "Actual Performance" is a Measure, I have also table similar to the below
| Machine | Target |
| A | 90% |
| B | 95% |
| C | 85% |
Now I want to conditional format the columns in the chart as:
If the Actual Performance >= Target then Green otherwise it shall be red.
I know it shall be done through conditional formatting by a field value but I am confused on how to construct the correct Measure.
Any help on this is much appreciated, Thanks
Solved! Go to Solution.
I have figured it out and I'm putting the solution here in case someone has a similar case:
1-Create a measure for your target
Target Measure = IF(DISTINCTCOUNT('Table'[Machine])=1,MAX('Table'Target))Then another measure for conditional formatting
Conditional Format = IF([Performance]>= [Target Measure],"Green","Red")Keeping in mind to have a relation between Machine columns If you have two table
I have figured it out and I'm putting the solution here in case someone has a similar case:
1-Create a measure for your target
Target Measure = IF(DISTINCTCOUNT('Table'[Machine])=1,MAX('Table'Target))Then another measure for conditional formatting
Conditional Format = IF([Performance]>= [Target Measure],"Green","Red")Keeping in mind to have a relation between Machine columns If you have two table
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 56 | |
| 40 | |
| 36 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 73 | |
| 73 | |
| 38 | |
| 35 | |
| 26 |