This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi All,
Here it's my scenario, There would be an absence reason with a list of codes by each employee.
Example :
EmpID - 24563
Absence Reason - Unscheduled
List of codes - 170,195,150
Each of the codes occupied time hours - 170(2.7),195(0.3) and 150(6),
Date - 05/23/2022
In the above scenario, one cell occupied the list of codes for the same date. For Each code, we can differentiate the status by colors in one cell.
Looking forward your support and help !
Solved! Go to Solution.
Hi FJ83
You can try conditional formatting.
Just enter the build visualization option and pick the colum you want to change.
Next you go to rules option and the format style
After that you pick the meaure you want to base the colors on. In your case it seems to be a status and you pick the color for each of the given statuses.
If only works with numbers so you might need another measure that goes something like
Measure = if(Absence Reason = Unscheduled, 1,
if(Absence Reason = Scheduled, 2,
if(Absence Reason = Done, 3, 4)))
I hope this help you.
Thanks
Hi FJ83
You can try conditional formatting.
Just enter the build visualization option and pick the colum you want to change.
Next you go to rules option and the format style
After that you pick the meaure you want to base the colors on. In your case it seems to be a status and you pick the color for each of the given statuses.
If only works with numbers so you might need another measure that goes something like
Measure = if(Absence Reason = Unscheduled, 1,
if(Absence Reason = Scheduled, 2,
if(Absence Reason = Done, 3, 4)))
I hope this help you.
Hi @Anonymous
You can only have 1 color in a cell (table, matrix?). But if you had the codes in separate celsl then you can color each one differently.
Regards
Phil
Proud to be a Super User!
Thanks Phil
Check out the May 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 |
|---|---|
| 31 | |
| 26 | |
| 23 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 47 | |
| 27 | |
| 23 | |
| 18 |