Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
14 | |
13 | |
11 | |
9 | |
8 |