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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
Thanks in advance.
What I am trying to achieve:
Conditional formatting a cell based on 2 conditions (The value in the cell i want to colour and also in another column).
What I currently have:
Report Table:
| Staff Name | Leave taken on 1st June 2023 | Timesheet hours submitted for 1st June 2023 |
| Alice | 1 | 0 |
| Bob | 0 | 40 |
| Cameron | 1 | 40 |
Expected Results:
I hope my explanation is clear.
Thank you
Solved! Go to Solution.
You may want to have a word with your Accessibilty experts.
See attached.
Hi lbenlin, Thank you for your reply. This definitely works as intended in my table! thanks so much. I have now change this table into a matrix and added another 2 rows on top to group it by the Location and Team the staff are working in.
Looks like this now (Please see comments):
| Staff Name | Leave taken on 1st June 2023 | Timesheet hours submitted for 1st June 2023 | Comments | |
| Location1 | Team 1 | False Positive Issue: When collapsed this Location1 row is coloured pink | ||
| Alice | 1 | 0 | ||
| Alex | 0 | 40 | ||
| Location2 | Team 2 | This appears to be correct when collapsed because there is one Staff (Barb) that meets the conditonal criteria. | ||
| Bob | 0 | 40 | ||
| Barb | 1 | 40 | ||
| Location3 | Team 3 | This appears to be correct when collapsed because there is one Staff (Cameron) that meets the conditonal criteria. | ||
| Cameron | 1 | 40 | ||
| Callum | 0 | 40 |
Follow on Question:
Read about ISINSCOPE and adjust the measure accordingly. You may also need to use SUMMARIZE if you want to filter up.
Great Thank you for your advice! Have a great day!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 28 | |
| 19 | |
| 11 | |
| 10 |