Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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

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

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.