Forum Discussion
AtikurRahman
10 years agoFrequent Visitor
DAX query for given dates?
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())),...
Anonymous
10 years agoNot applicable
Hi AtikurRahman,
According to your description, you want to view the data between today and seven days ago, right?
If as I said, you could use Filtered Rows to achieve your requirement, below is the query:
#"Filtered Rows" = Table.SelectRows(#"Changed Type", each [Date] >= Date.From(Date.AddDays(DateTime.FixedLocalNow(),-7)) and [Date] <= Date.From(DateTime.FixedLocalNow()))
Before filter:
After filter:
If above is not help, please provide more detail info and feel free to let me know.
Regards,
Xiaoxin Sheng
AtikurRahman
10 years agoFrequent Visitor
Anonymous Apologies for the delayed response.
Our team has carried out the work and managed to get it working to an extent, thanks for all the help Xiaoxin!
Regards,
Atikur