I am using the report you have shown Sam for Multi Threaded Dynamic Visuals in Power BI - Advanced Power BI and DAX Techniques, but seem anything < 90 days is not showing up for me.
Hi Sam
Thanks for the reply.
Erm okayy…Not sure i am fully understanding the logic in this.
Okay so i understand if the dates range has not got 90 days, nothing will show up, but if you see the 3rd visual , it has blanks where I have shown 14 days back?
I am completing the video in “Dashbaord Data Viz Intensive” the retail site development, yours dates you have is looking forwards another year 2019. (you have updated) but what if my dates only has 3 years back from , e.g… 2014-2017 dates, question is can i still use this visual techniuqe?
You can use this technique if you have historic data BUT instead of using TODAY() as the starting point, you’ll want to use the last date in your dataset.
That way when you go back say 14 days you’ll be looking backwards from the last date in your data versus the actual date today.
Hi Sam
ahh! think i am now starting to get the logical! The reason why I have been so eager to learn this is simply put I think its a great pieice of analysis for anyone to have!
So just to make sure I am on the righr right I could use LASTDATE dax function instead of using TODAY because likely in my situation my date, data set will not have"Today date for me to use TODAY dax function. So i could just change below to LASTDATE.
But maybe try placing LASTDATE(Website Data[Date]) firstly into a variable. I think this will be cleaner and what what you will likely also have to do it wrap it inside of CALCULATE because at the moment it’s probably evaluating to the actual date for every day.
So your variable should look something like this.
CALCULATE( LASTDATE( Website Data[Date]), ALL( Website Data ) )
So you know as you told me if I had a date column where it had historical dates, instead of using TODAY() I could use LASTDATE (Order or website column). So this example I was trying this on the Website data u have on this portal. This issue I am having is the below function does not work currently. So which i click on 7day, or 14, or 30 it does not update how it does when I use TODAY() way.
So my timeframe should be included as another Variable?
So i’m testing it out a few ways but still confusing me as to the logic.
ermm this is what i’ve done.
Can u please send me some sort of screen shot of what u mean Sam?
Happy to test this and see if this works?
looks like it is getting better.
However the 7 days from 01/03/2016 going 7 days backwards is not showing the right one.
I bet it is something like really minor i now i cannot figure out…