Forum Discussion
Anonymous
10 years agoNot applicable
DAX DATESBETWEEN
I have a list of campaigns, each record has a Start and Finish date associated with it. I want to be able to get the MINX of Start, the MAXX of Finish, and populate another table with all the da...
- 10 years ago
Anonymous You should use New Table option under Modelling tab and then use DAX code you've got. From syntax it seems like you're trying to create a measure using DATESBETWEEN which returns table and so it is not working.
- Anonymous10 years ago
Thanks for your replies - manged to do it with:
Table = CALENDAR( minx(Campaign_Report,Campaign_Report[Start]), maxx(Campaign_Report,Campaign_Report[Finish] ))
ankitpatira
Community Champion
10 years agoAnonymous You should use New Table option under Modelling tab and then use DAX code you've got. From syntax it seems like you're trying to create a measure using DATESBETWEEN which returns table and so it is not working.
- Anonymous10 years agoNot applicable
Thanks for your replies - manged to do it with:
Table = CALENDAR( minx(Campaign_Report,Campaign_Report[Start]), maxx(Campaign_Report,Campaign_Report[Finish] ))
- BhaveshPatel10 years ago
Super User
If you think the problem is solved, Can you please mark it as a solution. So the thread can be closed.