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: 
Anonymous
Not applicable

Performance issues while creating missing Reference dates

hi

I am using a combination of Canonical Calendar and Generating missing reference dates concept .

we have multiple systems migrated into one new system and I need to show all dates on one time axis.

eg. [Opened Date], [Resolution Date] from New system

[Date Raised],[Resolved Date] from TR System

[Open date UTC],[Resolve date UTC] from IN system

I need to show a trend of outstanding tickets across one common month axis.

Outstanding ticket count as of 28 Feb = all tickets with blank [Resolution Date],[Resolved Date] and [Resolve date UTC] while being opened in Feb or prior to Feb. +

Tickets that were opened in Feb or prior to Feb but resolved after 28 Feb.

Challenge that I am facing is that even if I use set analysis and flags while counting the outstanding tickets I am getting performance issues while clicking the listbox. Numbers get populated correctly but it is slowing down the applications

Labels (1)
3 Replies
Anil_Babu_Samineni
MVP
MVP

You are the second person i heard about set analysis performance issue. I never face issue / Performance issue while using set analysis. Would you share that expression we can optimize for you to reduce and better work

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

(sum(aggr(sum( distinct {<[Referred to CPS]={'Y'},RTC_Status={'ReOpened','To be Assigned','Working'},Month=>}vflag_Elapsed_Time_null_Resolve_dates_Incidents),[TR #],Last13MonthsReferencedateOpened))+

sum(aggr(sum(distinct {<[Referred to CPS]={'Y'},Month=>}vflag_Elapsed_Time_non_null_Resolve_dates_Incidents),[TR #],Last13MonthsReferencedateOpened))
+ sum(aggr(sum ( DISTINCT {<[Referred to CPS]={'Y'},Status={'Open'},Month=>}vflag_Aging_null_Resolve_dates_Incident),[TR #],Last13MonthsReferencedateOpened))) /

(count(DISTINCT{<vflag_Aging_null_Resolve_dates_Incident={'2 months','1 week','2-3 weeks','1 month','>2 months'},Status={'Open'},[Referred to CPS]={'Y'},Month=>}[TR #])+
count(DISTINCT{<vflag_Aging_non_null_Resolve_dates_Incident={'2 months','1 week','2-3 weeks','1 month','>2 months'},[Referred to CPS]={'Y'},Month=>}[TR #])+
count(DISTINCT{<vflag_Aging_null_Resolve_dates_Incident={'2 months','1 week','2-3 weeks','1 month','>2 months'},RTC_Status={'ReOpened','To be Assigned','Working'},[Referred to CPS]={'Y'},Month=>}[TR #]))

Anonymous
Not applicable
Author

let me know if you need further information