Jump to content

Sort a date column by the current date

Janson Ribeiro

Recommended Posts

I don't know what exactly you are trying to do but If you are looking at History Data then you can just use the Date Desc sort. An example of this is the date will never be in the future, and the current date will also be the most recent (first) on the list.

If you just want the current dates to show first then sort by something else after the first few you can do it by creating a calculated field that says "If ([date field] = DateTimeNow()), 0,1). Then you can add that field and sort by it.

Now if I was going to do it, I would probably put 2 visualizations, 1 with the Current Days data, and the 2nd one with all data.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...