Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Mgx
Contributor
Contributor

Order Date with functions day()

I use function day() to print only the number of my days. With set analysis I have 8 data. If my data are on two months I don't have the right sorting.

In dimension : I have : day(Date)

In measure : sum({< Date = {">=12/30/2020<=1/6/2021"}> } Prix)

Mgx_0-1617976202790.png

I want order : 30/31/1/2/3/4/5/6 because 30 december is before 1st January ... 

Thanks

 

 

1 Reply
rwunderlich
MVP
MVP

Make your dimension

Dual(day(Date), Date)

and set your sorting to numeric.

-Rob