Hi @Srinath
as promised a step-by-step guide.
- I created a dataset with the sample data provided by @hellosai321 .
- Create a parameter called “DateFilterParameter” with type Datetime:
- Add the parameter to the sheet and change format to YYYY/MM.
- Create a “FilterField” to reduce the amount of tickets to the ones that are created or closed in the selected month from the parameter “DateFilterParameter”.
ifelse(
(
truncDate("YYYY",${DateFilterParameter}) = truncDate("YYYY",created)
AND
truncDate("MM",${DateFilterParameter}) = truncDate("MM",created)
)
OR
(
truncDate("YYYY",${DateFilterParameter}) = truncDate("YYYY",closed)
AND
truncDate("MM",${DateFilterParameter}) = truncDate("MM",closed)
)
, "Y"
, "N"
)
- Create a new field to count the number of created tickets “Created Tickets”:
ifelse(
(
truncDate("YYYY",${DateFilterParameter}) = truncDate("YYYY",{created})
AND
truncDate("MM",${DateFilterParameter}) = truncDate("MM",{created})
)
, 1
, 0
)
- do the previous step for closed tickets.
- Create the visualisation for the created tickets, grouped by the created date field and you new calculation:
- Create the second visualisation for the closed tickets (see previous step):
- Add two filters for the whole sheet:
9.1 Filter all Dates with 0 created Tickets:
9.2 Use the FilterField:
If you need more information please have a look into the analysis it self on Quick Sight Arena:
Ticket Analysis One Filter
Best regards,
Nico



