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

DAX query for given dates?

$
0
0

Hello,

 

At the moment we are using the following query to convey data to us based on YESTERDAY'S data:

 

= Webtrends.Tables("100886", Date.AddDays(Date.From(Date.From(DateTime.FixedLocalNow())), -1), Date.AddDays(Date.From(Date.From(DateTime.FixedLocalNow())), -1))

 

Now, if we change the -1 to -4, we will get data from 4 days before hand.

 

eg. Today = 16/08/2016

-4 = 12/08/2016

-5 = 11/08/2016

-3 = 13/08/2016

 

Unfortunately this only shows us data for that ONE date, what I want to do is to view data for a full 7 days prior to todays data. Is this possible, and if so how can we approach this?

 

 

Any advice would be appreciated.

 

Regards,

Atikur


Viewing all articles
Browse latest Browse all 213819

Trending Articles



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