Forum Discussion
bikram_laishram
8 years agoHelper I
Custom Count from a date range
Hello Folks, Merry X'mas & Happy New year. I have a table where we have two date columns i.e. "from Date" and a "to date" column. How do I create a DAX measure or query to get count of ves...
- 8 years ago
Hi bikram_laishram,
Did you try out my solution? It should work. You need a time line slicer from the Store. Please check the file here. (don't create relationship between two tables).

Best Regards,
Dale
mehaboob557
8 years agoResolver III
Hi bikram_laishram,
Keep the date in the filter namely "slicer". So, if you select date range the values will automatically show under that date range only.
Use the below measure to calculate the count,
Measure Count = CALCULATE(COUNT(vessel(vessel_name)), ALLEXCEPT(vessel,vessel(vessel_name)))
Hope this works for you :)
Regards,
Mehbub