Forum Discussion
SUM countrows measure
- 5 years ago
Hi Anonymous ,
So, it sounds like you just want to filter your data for specific dates, right?
In that case, you just need to put your measure into a visual with dates in it, then put your dates into a slicer on the page and set the slicer to a 'Between' type, like this:
Pete
Hi Anonymous ,
Try this measure:
_appointmentsPerDay =
VAR __noofDays =
DATEDIFF([Scalar Start Date], [Scalar End Date], DAY)
RETURN
DIVIDE([Count Appointments], __noofDays, 0)
You will need a way to populate the scalar date values, whether this is through measures or slicer selections etc. is up to you, but you'll need to find a way to get those in there.
Pete
Thanks for this. It's along the lines of what I need but rather than divide the no of days by appointment .
Is it possible to have something like:
- BA_Pete5 years ago
Super User
Hi Anonymous ,
So, it sounds like you just want to filter your data for specific dates, right?
In that case, you just need to put your measure into a visual with dates in it, then put your dates into a slicer on the page and set the slicer to a 'Between' type, like this:
Pete