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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
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.