Forum Discussion

jsnyce's avatar
jsnyce
Regular Visitor
8 years ago
Solved

Function to count one login value per day

Hello all,   I’ve used this forum many times to find answers to issues I’ve had just from reading the solutions to posts from other users. This is the first time I’ve actually created a submission,...
  • samdthompson's avatar
    samdthompson
    8 years ago

    The distinctcount will give you the result you are looking for as a measure rather than a field. You could bring the user count through onto a bar chart with date on the xaxis and then change the summarisation on the values field to a distinct count. That would also work. If you are certain you want the count on the individual row level you would need to do a =CALCULATE(DISTINCTCOUNT(Table[USERID]),ALLEXCEPT(Table,Table[Date],Table,[UserID])) that would give you a field that when bought through would give you the samne result, but would show a 1 on each of the rows if you looked at the table.

     

     

     

    // If this is a solution please mark as such