I have a table with datetime field, I want to add a new measure to show totals per date in a visual and from this I also want a disctinct count on the dates in the table. Help appreciated.
@jamiefisher , A date column without time, and then you can use that
Date = datevalues([Datetime])
measures
m1= distinctcount(Table[Datetime])
m2= distinctcount(Table[Date])
User | Count |
---|---|
76 | |
37 | |
34 | |
16 | |
13 |
User | Count |
---|---|
86 | |
30 | |
28 | |
16 | |
13 |