Forum Discussion
Anonymous
5 years agoNot applicable
Distinct dates from specific date until today
I want to calculate the number of unique dates from a given date until today. Does anyone know how I can achieve this?
Anonymous
5 years agoNot applicable
Let's say this is the data.
| Name | Date |
| X | 26-6-2021 |
| Y | 27-6-2021 |
| Z | 29-6-2021 |
| X | 20-7-2021 |
| Y | 23-7-2021 |
| Z | 24-7-2021 |
I want to count the the number of unique dates for X, Y or Z from the first available date until today.
v-kkf-msft
5 years agoCommunity Support
Hi Anonymous ,
Try the following formula:
Measure =
COUNTROWS(
DATESBETWEEN(
'calendar'[Date],
MIN('Table'[Date]),
TODAY()
)
)
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.