Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
am showing a current view(monyear) data, bt now i need to show the trend two year's data bt it shud be dynamic, it shud pickup by default. How to do that.
This information won't make to reply. But, I will try my best (This is just imagination)
Avg({<monyear = {">=$(=AddYears(Max(monyear),-2))<=$(=Max(monyear))"}>} Sales)
there has to be a dynamic script as in when we load the data from our qvd,it shud identify by default which year month u r luking at so if the qvd is refreshed in jan ,it shud uphold 12 years data
every month when new data comes in ,am not required to change monyear in the script,it shud be all automated
can u please help regarding the same.
kindly help as its a urgent requirement.
if you have a data field like Month_Year then in your load statement
LOAD
*
from
QVD
Where Month_Year =>MonthName(AddMonths(Today(),-12)) and Month_Year <=MonthName(Today());
NOTE: I have assumed month_Year format as e.g Feb 2018
thanks,
am doing the same thing in my where condition but its not wrking for me ,
share the sample app then will check and suggest
there is an issue with the date field format ,tahts why its not picking up I guess
how to correct the date format