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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
suzel404
Creator
Creator

Show the last records from a date selection on the last 10 days

Hi all,

How can I see all tickets open and the number from date selected on the last 10 days ?

Is it better to have this in script or in the expression layout ?

Thank newly for your help.

1 Solution

Accepted Solutions
its_anandrjs
Champion III
Champion III

New update for the expression

for last 10 days record you can use

>= Date(Max(Date-10)) <=  Date(Max(Date))

Write a SET expression like

=Count({$<Date = {">$(=date(Max(Date)-10)) <=$(=date(Max(Date))) "}>}  Actions)

Regards

View solution in original post

4 Replies
its_anandrjs
Champion III
Champion III

New update for the expression

for last 10 days record you can use

>= Date(Max(Date-10)) <=  Date(Max(Date))

Write a SET expression like

=Count({$<Date = {">$(=date(Max(Date)-10)) <=$(=date(Max(Date))) "}>}  Actions)

Regards

tresesco
MVP
MVP

Take a straight table and use expression =Only({<Date={">$(=Max(Date)-10)<=$(=Max(Date))"}>}Actions)

like in attached sample.

sujeetsingh
Master III
Master III

Declare a variable and limit dimension based on it

Not applicable

Check the attached