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: 
AdrianS1
Contributor III
Contributor III

Defining axis range using expressions

Hi guys i want to have a chart witch show sum of sales per days.

I Have two columns Order_Date and Sales

AdrianS1_1-1683288978059.png

 

How i can filter this X Axis to show only last 60 days ? Is it possible?

Labels (3)
1 Solution

Accepted Solutions
MayilVahanan
MVP
MVP

Hi

Try like below
Sum({$<Order_Date ={">=$(=Date(Max(Order_Date )-59))<=$(=Date(Max(Order_Date )))"}>}Sales)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

1 Reply
MayilVahanan
MVP
MVP

Hi

Try like below
Sum({$<Order_Date ={">=$(=Date(Max(Order_Date )-59))<=$(=Date(Max(Order_Date )))"}>}Sales)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.