Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi All,
I have an employee table with Salary ,employee and benchmark columns .
I need to compare the benchmark column with Salary column and if Salary > benchmark then KPI color column should be Green, If Salary < benchmark then KPI color column should be Red and if Salary = benchmark then KPI color column should be Yellow.
Could you please suggest any DAX to handle this ? I need to show the KPI color column as shown below in expected output screenshot.
My Source input Table is as below :-
Salary | Benchmark | KPIColor | Employee |
20000 | 15000 | Green color should be filled | E1 |
10000 | 15000 | Red color should be filled | E2 |
15000 | 15000 | Yellow color should be filled | E3 |
Expected output :-
Kind regards
Sameer
Solved! Go to Solution.
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
15 | |
7 | |
6 |