This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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 April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 26 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 32 | |
| 25 | |
| 23 |