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!View all the Fabric Data Days sessions on demand. View schedule
Hi,
I'm trying to build a measure to calculate records.
In this measure I'm using the function Datesbetween.
It looks that that function working but when I add a slicer to this data the data will be the same.
What I'm doing wrong?
Records user = CALCULATE(
COUNTROWS('Query1'),
DATESBETWEEN(Datetable[date], MIN(vc_lot_lotuser[Start Date]), MAX(vc_lot_lotuser[End Date])),
USERELATIONSHIP(vc_lotuser[Lot User], Query1[LotId]))
hi @Jeffrey_VC
which column do you have for the slicer?
If it is date-relevant column, ensure to take the columns from the datetable.
This is the model:
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 |
|---|---|
| 18 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 25 | |
| 21 | |
| 14 | |
| 12 |