Forum Discussion
Anonymous
7 years agoNot applicable
date difference by date filter
Hi,
I want to calculate no of days by date range.
Please suggest how to do that
Hi Anonymous
You may create a measure like below.
Measure = COUNT('Table'[Date])Regards,
Cherie
4 Replies
- BhaveshPatelSuper User
Hi Anonymous
You can use DATEDIFF function in DAX.
Please see the attached blog post:
https://blog.crossjoin.co.uk/2015/06/22/using-datediff-to-calculate-time-intervals-in-dax/
- v-cherch-msftMicrosoft Employee
Hi Anonymous
You may create a measure like below.
Measure = COUNT('Table'[Date])Regards,
Cherie
- AnonymousNot applicable
Thanks v-cherch-msft
- AnonymousNot applicable
Hi v-cherch-msft ,
I am trying to filter on the two date, there are no other date between these two. so can i get no of days difference by filter.
Regards,
Gaurav Manral