Forum Discussion
Anonymous
8 years agoNot applicable
Filter by Current day
Hi, I want to filter out rows and only include the current day in my direct query. i have used This works fine for today but when i publish the repo...
jthomson
8 years agoSolution Sage
Look at what's actually happening in the advanced editor - I'd guess it's not actually writing the code for today, instead writing the code for 14/8/2018. Have a look and maybe replace it with DateTime.Date(DateTime.LocalNow()) if that's the case
Anonymous
8 years agoNot applicable
Thanks for the help,
I changed it to 15 minutes to help fault find and here is the code below. It works when I press refresh in the desktop but when I publish it doesn;t update the rolling 15 minute window. It seems to only keep the original window until i refresh and re-publish the dataset.
any idea why this is the case or how to get around it?