This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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 May 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 |
|---|---|
| 27 | |
| 26 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 21 | |
| 18 |