Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Pick the latest date

Hi All

Kindly help in the below logic in Qlik Sense( both in the SQL Query and Visualization):

In want to calculate the Age of the case as ( Snapshot attached )

Age = 5/1/2016 - 1/1/2016

i.e. the last Timestamp date (where case is closed) - the day on which the ticket is submitted.

But the problem is there are so many dates between the start date and closed date, can you please guide me how can I get the age

swuehl

sunindia

gwassenaar

Attached is the snapshot for your reference

Thanks

Deepanshu

2 Replies
sunny_talwar

May be like this:

Only({<Status = {'Closed'}>} Timestamp - [Submit Date])

swuehl
MVP
MVP

Maybe like

=Only({<Status = {Closed}>}Timestamp) - Only({<Status = {Open}>} Timestamp)

in a chart with dimension [Request Number].