Forum Discussion
Get data for all dates between StartDate and EndDate in DAX
Hi jatneerjat,
You could create the relationship by the column PeriodStartDate or PeriodEndDate with the Date column in the Calendar table like below.
Then when you create the slicer with the Date column in Calendar table, you could filter the resources name.
For another option, you could create a calculated column Year with the Year Function in table tblResourceInfo .
Then you could create the Slicer with Year and filter the resource name.
Note: If you try with the second way, you don't need to create a Calendar table and create relationship.
Best Regards,
Cherry
- jatneerjat8 years ago
Helper V
Hi v-piga-msft ,
Thanks for your response but you have used only startdate.so it will give me the resourcename who have startdate in table.I also want the rsource who are active between startdate and enddate.
For eg. if a resource has startdate is 2016/04/05 and enddate is 2018/09/20 so now if i select year 2017 then this resource should be counted as active.
Thanks,
Neeraj