Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello,
I have a table called Event Log that tracks log ins by email address. I want to count the distinct email addresses [email] in this log for the last day, week, month, & quarter in [Timestamp]. I wanted to create a measure for each time period.
Solved! Go to Solution.
@Anonymous , Try like
Email count last 24 hours = CALCULATE(DISTINCTCOUNT('Event Log'[Email]), 'Event Log'[Timestamp] >= now() -1 && 'Event Log'[Timestamp] <= now() )
or
Email count last 24 hours = CALCULATE(DISTINCTCOUNT('Event Log'[Email]), 'Event Log'[Timestamp] >= now() -time(23,59,59) && 'Event Log'[Timestamp] <= now() )
@Anonymous , Try like
Email count last 24 hours = CALCULATE(DISTINCTCOUNT('Event Log'[Email]), 'Event Log'[Timestamp] >= now() -1 && 'Event Log'[Timestamp] <= now() )
or
Email count last 24 hours = CALCULATE(DISTINCTCOUNT('Event Log'[Email]), 'Event Log'[Timestamp] >= now() -time(23,59,59) && 'Event Log'[Timestamp] <= now() )
User | Count |
---|---|
66 | |
61 | |
47 | |
33 | |
32 |
User | Count |
---|---|
87 | |
72 | |
56 | |
49 | |
45 |