Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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.
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | 
| User | Count | 
|---|---|
| 23 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |