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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 62 | |
| 54 | |
| 40 | |
| 17 | |
| 15 |
| User | Count |
|---|---|
| 94 | |
| 83 | |
| 33 | |
| 32 | |
| 24 |