Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
0li5a3a
Creator III
Creator III

last 6 months tickets count

Hello,

could someone help me to display the open ticket for the last 6 months  into a Bar Chart ?

Please find the files attached.

I want to see the month:

November,December, January, February, March, April(this is the current month)

1 Solution

Accepted Solutions
rubenmarin

Hello Constantine, PFA, the expression is set to show data of the last six 6 months (april doesn't have data) ignoring selections.

To show april you can edit your calendar to:

Let varMaxDate = Num(Today());

View solution in original post

3 Replies
MK_QSL
MVP
MVP

Use this expression

count({<Status = {'Open'}, OrderDate = {">=$(=MonthStart(Today(),-5))<=$(=MonthEnd(Today()))"}>}[Ticket ID])

or

count({1<Status = {'Open'}, OrderDate = {">=$(=MonthStart(Today(),-5))<=$(=MonthEnd(Today()))"}>}[Ticket ID])

rubenmarin

Hello Constantine, PFA, the expression is set to show data of the last six 6 months (april doesn't have data) ignoring selections.

To show april you can edit your calendar to:

Let varMaxDate = Num(Today());

0li5a3a
Creator III
Creator III
Author

Thanks, I checked the calendar, all sorted because of u:)