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 moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hello,
how to calculate in dax the number of identical rows in the name and date columns.
The idea is to be able to display by entity the number of rows having the same value for name and date.
Here for the entity 1 and 2 I must display 2 and for the entity 3 I must find 1.
I thought of concatenating name and date and doing a "distinccount" but it always displays 1 for any entity with a segment.
Thanks a lot.
Solved! Go to Solution.
Hi
Try to add a column as a "DATENAME" by concatenating name and date, then try this measure:
Measure=
CALCULATE (
COUNTROWS ( 'Table' ),
FILTER ( ALL ( 'Table' ), 'Table'[DATENAME] = MAX ( 'Table'[DATENAME] ) )
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your Kudos
@Anonymous
Hi
Try to add a column as a "DATENAME" by concatenating name and date, then try this measure:
Measure=
CALCULATE (
COUNTROWS ( 'Table' ),
FILTER ( ALL ( 'Table' ), 'Table'[DATENAME] = MAX ( 'Table'[DATENAME] ) )
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your Kudos
@Anonymous
https://stackoverflow.com/questions/57603253/counting-consecutive-fails-in-test-results-in-power-bi
follow this i think this will help you
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 |
|---|---|
| 34 | |
| 31 | |
| 30 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 63 | |
| 53 | |
| 31 | |
| 23 | |
| 23 |