Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sort by date - Replaced Nulls with text

Hi everyone,

I have a field that contains dates.  The date will sometimes be null, so I replaced nulls with "Open" in the script. 

I have a bar chart where I want the dates to be in ascending order, but "Open" to be last, not first.

It is currently sorting it as: Open, Jan 2013, Feb 2013, Mar 2013, etc.  I want the dates to stay in this order, but Open to appear at the end, not the beginning.

Thank you!

1 Solution

Accepted Solutions
nagaiank
Specialist III
Specialist III

In the Chart properies, Sort tab, sort date by the followint expression ascending:

 

If(Date='Open',999999,Date)

View solution in original post

2 Replies
nagaiank
Specialist III
Specialist III

In the Chart properies, Sort tab, sort date by the followint expression ascending:

 

If(Date='Open',999999,Date)

Not applicable
Author

That did it! Thank you