Forum Discussion
Conditional Formatting not executting completely.
Hi Akshay_echo1995
Please try below DAX
DRV2 =
IF (
( SELECTEDVALUE ( 'DW Celoxis_TimeEntries'[data']][0]]['workItem_data_plannedStart] ) - Today()) <= 7,
"Green",
IF (
( SELECTEDVALUE ( 'DW Celoxis_TimeEntries'[data']][0]]['workItem_data_plannedStart] ) - Today())<= 14,
"Amber",
"Red"
)
)
Let me know if that works for you
If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.
Thanks
Pijush
Linkedin
- Akshay_echo19952 years agoRegular Visitor
Aleady tried this but only getting Green , its not getting executed for Amber and Red.
- PijushRoy2 years agoCommunity Champion
Hi Akshay_echo1995
Hope this column in Date format'DW Celoxis_TimeEntries'[data']][0]]['workItem_data_plannedStart]You are calculating measure and using the measure in Field value of the conditional formatting
Please create a sample PBIX and share the google drive link
Let me know if that works for you
If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.
Thanks
Pijush
Linkedin- Akshay_echo19952 years agoRegular Visitor
Hi,
I have shared the link with the pbix file , Please go through it and help me in achieving the RAG status as this is only picking up Green.
Its only picking first condition,
https://drive.google.com/file/d/1nW7kN_VPkArXDXR334thKfzagS12rQ9I/view?usp=sharing