Forum Discussion

prabhatnath's avatar
prabhatnath
Icon for Advocate III rankAdvocate III
2 years ago
Solved

Help on Creating Tickets Created vs Tickets Closed by Weekday

Hi Friends,   Need a help on a Line Chart to show Tickets created and Closed by Weekday. I have a DataSet Tickets with columns: ID, CreatedDate, Type, Sev, Status, Title,  ResolvedDate, MitigatedD...
  • v-weiyan1-msft's avatar
    2 years ago

    Hi prabhatnath ,

     

    Based on your description,
    you might consider using the following code to create two Measures.
    My Sample:
    Table-Tickets:

    Table-Calendar:

    Created Tickets = COUNT(Tickets[ID])
    Closed Tickets =
    COUNTX (
        FILTER (
            'Tickets',
            'Tickets'[Status] = "RESOLVED"
                || 'Tickets'[Status] = "MITIGATED"
        ),
        'Tickets'[ID]
    )
    

    Result is as below.

     

    Is this the result you expect?
    For further details, please find attachment.

     

    Best Regards,
    Yulia Yan

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.