Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

DAX DATESBETWEEN

$
0
0

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 dates inbetween the lower and upper range. I am trying to use DATESBETWEEN but am stumbling on the syntax. E.g.

 

Measure = DATESBETWEEN(DateDimension[DateSK],
	MINX(Campaign_Report,Campaign_Report[Start]),
	MAXX(Campaign_Report,Campaign_Report[Finish]))

 

which doesn't return anything (no error either).... Could this be because I am trying to run this in a new table which already has one column populated in it:

 

Table = all(Campaign_Report[UID_CAMPAIGN]
	)

Can anyone give me a nudge in the right direction? Thanks

 

 

 

 


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>