This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
| Empoyee | Work Date | Category | Work Hours | Color Code |
| Jane Dow | 1/1/2019 | Labor Salary | 8 | Green |
| Jane Doe | 1/5/2019 | Vacation | 10 | Orange |
| John Dow | 2/2/2019 | Holiday | 12 | Black |
| Jane Dow | 2/15/2019 | Labor Daily | 8 | Green |
| Jane Doq | 1/31/2019 | Labor Hourly | 10 | Green |
| John Doe | 1/31/2019 | Missing Time | 0 | Pink |
Solved! Go to Solution.
@Anonymous , created this file you. Hope this works for you
https://www.dropbox.com/s/5xubpa67hdaquxg/ColorMeasure.pbix?dl=0
Appreciate your Kudos.
@Anonymous
In diverge, you can three colors, but you can four colors based on condition. Refer
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting
@amitchandak I have read this document several times. The options in this document does not work as I will need to change the background colors for work hours based on the category field. This does not solve my issue. Thanks
@Anonymous , created this file you. Hope this works for you
https://www.dropbox.com/s/5xubpa67hdaquxg/ColorMeasure.pbix?dl=0
Appreciate your Kudos.
@amitchandak Thank you so much! This is what I was looking for, I did not know how to write the DAX formula! You rock!!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 29 | |
| 29 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 39 | |
| 33 | |
| 24 | |
| 23 |