Skip to main content
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.