Forum Discussion
Highlighting new items
- 3 years ago
Hi Anonymous
I just used your code in the example file I created for you and it highlights in red anything that is more than 7 days in the past
You said you wanted to highlight things posted in the past 7 days, not more than 7 days ago?
To highlight things in the past 7 days you want to use greater than or equal to in the code, the code you posted is using less than or equal to
New = IF(SELECTEDVALUE('Issues'[Date Reported]) <= TODAY()-7, "red")
regards
Phil
with your measure
Hi Anonymous
So you've created the Conditional Formatting rule after creating the measure?
Without seeing your data and the rule you wrote I can't say for sure what is wrong. Can you supply your file or at least the data (as text or table - not an image) you are running the CF rule against?
regards
Phil
- Anonymous3 years agoNot applicable
Here is the .pbix It didnt allow me to attach here so had to upload somewhere else.