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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a document that is updated every month with the business unit's roster information. I want to create a measure that counts the roster size dynamically with the Date function. See example below.
So the roster size for April would be 4 and for May would be 5. I apprecaite any assistance!
Solved! Go to Solution.
Hi @PaddyHS ,
According to your description, if you prefer a measure, here's my solution.
Count =
IF (
ISINSCOPE ( 'Table'[Roster Date] ),
COUNTROWS (
FILTER ( ALL ( 'Table' ), 'Table'[Roster Date] = MAX ( 'Table'[Roster Date] ) )
),
COUNT ( 'Table'[Roster Date] )
)
Get the result.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.
Hi @PaddyHS ,
According to your description, if you prefer a measure, here's my solution.
Count =
IF (
ISINSCOPE ( 'Table'[Roster Date] ),
COUNTROWS (
FILTER ( ALL ( 'Table' ), 'Table'[Roster Date] = MAX ( 'Table'[Roster Date] ) )
),
COUNT ( 'Table'[Roster Date] )
)
Get the result.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.
you need to create a date table.pls see the attachment below
Proud to be a Super User!
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 |
|---|---|
| 58 | |
| 45 | |
| 42 | |
| 21 | |
| 18 |