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: 
anuradhaa
Partner - Creator II
Partner - Creator II

working with multiple dates

Hi,

In my data set i'm using createdate and solve date. when the user select  date in list box i need to show all the data in that date (both solve and create)

some tickets create in jan and close in feb. so i need to display that when he select jan. or feb.

i did it using canonical date and put date time field based on create or solve.

now i want to merge below two records and display one record.

Created date/status/priority/ticket type /Solve date

here this data set should satisfy above condition in data setection.

Thanks

CanonicalDatecreatedDateStatusPriorityInvolve Tech TeamTicket TypesolveddateDateTypeId
3/17/20143/17/2014SolvedUrgentNoValid Issue3/17/2014created1521
3/17/20143/17/2014SolvedUrgentNoValid Issue3/17/2014solve1521
1 Solution

Accepted Solutions
sujeetsingh
Master III
Master III

Anu,

This is happening just due to cronical date in dimension as their are values hence try using a valid logic for taking any one based on latest date .

View solution in original post

11 Replies
sujeetsingh
Master III
Master III

can you give the sample

anuradhaa
Partner - Creator II
Partner - Creator II
Author

i have below two records

CanonicalDatecreatedDateStatusPriorityInvolve Tech TeamTicket TypesolveddateDateTypeId
1/31/20131/31/2013ClosedNormalYesValid Issue2/5/2013created784
2/5/20131/31/2013ClosedNormalYesValid Issue2/5/2013solve784

and i want to merge them and get below single record based on id

IdStatusPriorityInvolve Tech Teamcreatedatesolveddate[Ticket Type]
784ClosedNormalYes1/31/20132/5/2013Valid Issue
sujeetsingh
Master III
Master III

Use group by when resident load

anuradhaa
Partner - Creator II
Partner - Creator II
Author

pls use attached qvw

sujeetsingh
Master III
Master III

Anu ,

Please explain or write upin your sample that what do yo really want in it .

anuradhaa
Partner - Creator II
Partner - Creator II
Author

Hi,

here i want to display ticket statistics. here a ticket has id, create date, slove date etc.

some tickets were created in feb and closed in march.

so as you can see i want a calendar to select months.

so when i select feb, it has to show all tickets close or solve in feb.

so i use canonical date and use that to display.

but when i do that it gives me two records, one for create and one for solve for same id.( you can see it in my table top)

i need to merge that. i use if condition and did it (below) but when i do that that is only show the tickets created in selected month. but i want to display created and solve. both.

hope this will help

thanks for your replys

sujeetsingh
Master III
Master III

See this it works fine to me

anuradhaa
Partner - Creator II
Partner - Creator II
Author

no, take id 1436. it has two records. i want to get one record using these two records

sujeetsingh
Master III
Master III

Anu,

This is happening just due to cronical date in dimension as their are values hence try using a valid logic for taking any one based on latest date .