Feature Request: Sort by X-Axis Line Chart Visuals

image
Line Chart visuals don’t give the ability to select a “Sort By”. Can this be updated please?

Hi @stormsarah,
In regards to having a standard sorting option, yes I’ll add this as a feature request!

In terms of a work around that could potentially work for your case, is ‘date_grouping’ a calculated field? If so, could you share what it is?

1 Like

It is not, it is just the date field. What would your workaround be to custom sort it?

Hi @stormsarah,
While this may not provide the exact outcome you may be looking for; you could essentially create a descending rank for your date field.

denseRank([{date_grouping} DESC], [], PRE_AGG)

That will allow you to sort your line graph now. Then, since your X-Axis won’t show your dates, you can add a tooltip for your date so that it still shows in some way.

1 Like

Hi @stormsarah,
It’s been awhile since we last heard from you; while I’ve marked this as a feature request, I wanted to check if you had any additional questions?

If we do not hear back within the next 3 business days, I’ll go ahead and close out this topic.

Thank you!

Hi @stormsarah,
Since we haven’t heard back, I’ll close out this topic. However, if you have any additional questions, feel free to create a new post in the community.

Thank you!