Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have two tables:
1. "ID Date"
2. "Table 1"
In "Table 1", there are four columns "Start Time", "End Time", "Event" & "Key".
In ID Date table, there are three columns "ID", "Date" & "Key"
Both table are connect via "Key" column.
Now what I need is that distinct count of ID which lies in time interval greater than Start Time and within the same date of the Start time. I have created below DAX but it is not filtered within the same date of Start Time:
Hi @mohittimpus
You can try the below.
I think you are missing "=" operator and RELATED works probably better here.
Measure = CALCULATE( DISTINCTCOUNT('ID Date'[ID]), FILTER('ID Date','ID Date'[Date] >= RELATED( Table1[Start Time] ) ) )
I want only event start time date to be considered here, not other dates to include only 24 June.
The result should be 3610,
The event time starts from 24-06-2019 18:00:05, now what I need is the distinct count of ID from 24-06-2019 18:00:05 to 24-06-2019 23:59:59, it should not include a count for next date i.e. 25 June only till 24 June.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
83 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |