Forum Discussion

samadkhaan's avatar
samadkhaan
New Member
3 years ago
Solved

Count distinct dates against unique User name

Hi Im super new to the community.  I am trying to calculate how many meetings my agents are conducting in a month - and not count multiple meetings they are doing.  Eg.  1) Shahid meets 5 people o...
  • FreemanZ's avatar
    3 years ago

    Supposing your table named Data, try to create a new table with the code below:

    Table =

    VAR _table =

    SUMMARIZE (

        Data,

        Data[Date],

        Data[Agent Name]

    )

    RETURN

    ADDCOLUMNS (

        _table,

        "Count",

       CALCULATE (COUNT(Data[S. No]))

    )