Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Count ID and Chart Occurrence

I want to count how many times an ID shows up in a given time frame and show that as a chart. I created a column that converts the date into the week of the year. What I am trying to show is how many...
  • Anonymous's avatar
    Anonymous
    4 years ago

    HI Anonymous,

    I'm not so clear about your frequency field definitions, can you please share some detail about these? They will help us clarify your scenario and test to coding formula.

    How to Get Your Question Answered Quickly  

    In addition, you can also try to use the following measure formula if helps:

    formual =
    CALCULATE (
        COUNTA ( Table[ID] ),
        ALLSELECTED ( Table ),
        VALUES ( Table[Week] ),
        VALUES ( Table[frequency] )
    )

    Regards,

    Xiaoxin Sheng