Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Create A Graph Between Time And Distinct Value

Hello so i have a table containing date time and Status Status is :DNC(Do not call) , Sale(Sale made)... So i want to create a graph where i only need the count of DNC on a graph over time not the da...
  • v-cazheng-msft's avatar
    4 years ago

    Hi Anonymous ,

     

    You may try this solution.

    Here are the sample data.

     

    1 Create a Calculated column

    Time = FORMAT('Table'[DateTime],"hh:mm")

     

    2 Create a measure to count DNC

    Count DNC = CALCULATE(COUNT('Table'[ Status]),FILTER('Table','Table'[ Status]="DNC(Do not call)"))

     

    The result looks like this.

     

    Also, attached the pbix file as reference.

     

    If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please let me know. Thanks a lot!

     

    Best Regards,

    Community Support Team _ Caiyun