Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hi All,
I am facing a challenge with conditional formatting when the row is not present in the table.
Table :
| ID | Date | Parameter | VALUE | AC_Target | DM_Target |
| 20290 | 03-07-2021 00:00 | DM | 88.7 | Off Target | On Target |
| 20290 | 03-07-2021 00:00 | AC | 98.8 | On Target | Off Target |
| 21769 | 05-07-2022 00:00 | DM | 87.2 | Off Target | On Target |
| 21769 | 05-07-2022 00:00 | AC | 100 | On Target | Off Target |
| 21779 | 08-07-2022 00:00 | DM | 76.3 | Off Target | Off Target |
| 21779 | 08-07-2022 00:00 | AC | 100 | On Target | Off Target |
| 22503 | 08-01-2023 00:00 | DM | 90.4 | Off Target | On Target |
| 22503 | 08-01-2023 00:00 | AC | 94 | On Target | Off Target |
| 24042 | 12-08-2023 00:00 | AC | 98 | On Target | Off Target |
| 26278 | 10-09-2024 00:00 | AC | 100 | On Target | Off Target |
In the above table, AC_Target and DM_Target are the calculated columns with below DAX :
What I want to do is wherever it is coming blank I need White background instead of Red from above screenshot.
Logic wise actually where the blank is coming those rows are not present in source, hence its tagging as Off Target and then coming Red.
Request for your help here.
Thanks,
Ankita
Solved! Go to Solution.
You can modify your condition for DM and AC target
I hope this is what you are looking for.
I hope I answered your question!
Thanks for quick response @Uzi2019 , I had multiple AND conditions for the Target column but implemented the same logic suggested by you for both >= and < and it worked perfectly. 🙂
You can modify your condition for DM and AC target
I hope this is what you are looking for.
I hope I answered your question!
create similar coumn for AC target.
your conditional formatting logic was correct just that you calculated column for DM and AC target missing one condition for blank(). that why showing off target where condition is not met.
I hope you understood my point.
I hope above solution would help you to understand and solve your issue!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 63 | |
| 62 | |
| 42 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 111 | |
| 104 | |
| 36 | |
| 28 | |
| 27 |