cancel
Showing results for 
Search instead for 
Did you mean: 

How to use "Edit Rules" to create a rule that highlights rows where the date value in the grid column is less than today.

Nathan_Atkinson
Confirmed Champ
Confirmed Champ

I am creating a report dashboard grid where one of the columns is a date.  I would like to highlight any rows where the date in that column is before "today" so that whenever the report is run it evaluates against that given day.

 

I have looked under Edit Rule-->Value and under Edit Rule--> A Date Occurring.  I don't see this option.  In fact my "A Date Occurring" options are not even the same as what I see in the MRG.  They are only: yesterday, today, tomorrow, last week, this week, next week, last month, this month, next month.  There is nothing else.  

 

And if I use Value and less than, I am forced to select a specific date.  Does anyone know how to accomplish this?


Thanks

1 ACCEPTED ANSWER

Eric_Beavers
Employee
Employee

What about using an Expression instead?

 

Here is an example of using Doc Date to change the row color if the doc is older than 6 years.

You can change the AddYears() to AddDays(Now(),-1) for your business case

My example:

[Document Date] <= AddYears(Now(), -6)

 

a70fe6765ece4be5b91beccc3727058d

 

Config (right click on grid > select Edit Rules)

7173b2b3caa54eeb9df73259ace1b8fd

a10cb308aa404da1a49f734b2e6992b5

852e483a462e4cb9a260fed0cc51536f

View answer in original post

2 REPLIES 2

Eric_Beavers
Employee
Employee

What about using an Expression instead?

 

Here is an example of using Doc Date to change the row color if the doc is older than 6 years.

You can change the AddYears() to AddDays(Now(),-1) for your business case

My example:

[Document Date] <= AddYears(Now(), -6)

 

a70fe6765ece4be5b91beccc3727058d

 

Config (right click on grid > select Edit Rules)

7173b2b3caa54eeb9df73259ace1b8fd

a10cb308aa404da1a49f734b2e6992b5

852e483a462e4cb9a260fed0cc51536f

Great idea. Thanks!

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.