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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
nagesh
Contributor
Contributor

shutdown occurred per calendar month starting from 2018

Using Ticket-number and shutdown date field I need to
determine how many shutdowns occurred
per calendar month from the beginning of
2018 to present run date of report

1 Reply
jerifortune
Creator III
Creator III

In your load statement include the following;

LOAD
 Ticket_number,
[shutdown date],
Year([shutdown date])    AS Yr,
Date([shutdown date], 'YYYY MMM')   AS YrMonth
......

On a Straight table have, YrMonth as dimension and  this expression as measure
Count({<Yr={">=2018"}>} Ticket_number)

You can also use other charts.

Hope this helps.