Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
We have a table that contains our events and we would like to be able to calculate how many open events per date to use on graphs. We want to generate the open events for all calendar days, not only days that exist in the events table. I can easily calculate this in excel which you can see from the attached image. Maybe it is simple, though I can't seem to figure it out.
Any help would be appreciated.
Solved! Go to Solution.
Maybe something like:
Measure = CALCULATE(COUNTROWS(Table),FILTER(Table,Table[BeginDate]>=MAX(Dates[Date]) && Table[EndDate] <= MAX(Dates[Date])))
Something like that.
Maybe something like:
Measure = CALCULATE(COUNTROWS(Table),FILTER(Table,Table[BeginDate]>=MAX(Dates[Date]) && Table[EndDate] <= MAX(Dates[Date])))
Something like that.
Thanks that worked well. Guess the date table cannot have a relationship with the events table, otherwise it starts to filter down.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 21 | |
| 17 | |
| 11 |
| User | Count |
|---|---|
| 58 | |
| 55 | |
| 43 | |
| 36 | |
| 35 |