Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have start date time and end date time on my report i want to display below conditions in my report.
Solved! Go to Solution.
@Anonymous , A measure like the given example. where date filter might come from an independent date table ( or we need to do necessary changes )
measure =
var _max = maxx(allselected('Date'), 'Date'[Date])
return
calculate(countrows(Table) , filter ( Table, (Table[EVENT_START_DATETIME] <= Today() && Table[EVENT_START_DATETIME] <=_max) && (Table[EVENT_END_DATETIME] >= Today() && Table[EVENT_END_DATETIME] >=_max)))
@Anonymous , A measure like the given example. where date filter might come from an independent date table ( or we need to do necessary changes )
measure =
var _max = maxx(allselected('Date'), 'Date'[Date])
return
calculate(countrows(Table) , filter ( Table, (Table[EVENT_START_DATETIME] <= Today() && Table[EVENT_START_DATETIME] <=_max) && (Table[EVENT_END_DATETIME] >= Today() && Table[EVENT_END_DATETIME] >=_max)))
Hi Amit, i have tried this measure but its not giving proper results and returning numbers. Here am pulling data from view and i dont have date table in my report.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 101 | |
| 76 | |
| 56 | |
| 51 | |
| 46 |