Discussion Board for collaboration related to QlikView App Development.
Hi Experts,
I have created a dashboard. My requirement is want to show Last 15 Days Sales.
My expression is like this:
Sum({<Year=, Quarter=, Month=,Week=, TransactionDate={'>=$(=DayStart(Max(TransactionDate), -14))<=$(=Max(TransactionDate))'}>} Sales )
But am getting overall 31 Days. Please help me how to achieve this
Thanks in Advance
Try:
Sum({<Year=, Quarter=, Month=,Week=, TransactionDate={'>=$(=Date(Max(TransactionDate) -14))<=$(=Date(Max(TransactionDate)))'}>} Sales )
If you don't see, last 15 days data here, that is because you don't have data for those dates.
have a look at this
Try this -
Last 15 Days Sales
Sum({<Year=, Quarter=, Month=, Week=, TransactionDate={‘>=$(=Date(Max(TransactionDate)-14))<=$(=Date(Max(TransactionDate)))’}>} Sales )
HTH
Sreeni
Its not working
can you please share the app and sample data
Hey Abhi
Is your date in proper format.. if not use Date# function to covert into required date format.
or else attach a sample application, which will help us to provide quick solution for you
Sreeni
Try without week=
Sum({<Year=, Quarter=, Month=, TransactionDate={'>=$(=DayStart(Max(TransactionDate), -14))<=$(=Max(TransactionDate))'}>} Sales )
Hi,
Please find attached Sample application.
Thank You, !
Try:
Sum({<Year=, Quarter=, Month=,Week=, TransactionDate={'>=$(=Date(Max(TransactionDate) -14))<=$(=Date(Max(TransactionDate)))'}>} Sales )
If you don't see, last 15 days data here, that is because you don't have data for those dates.
Hi,
If you don't have data for last 15 days obviously you don't see any data. First check your data whether you have transactions on those days or else below expression works.
Try this:
Sum({<Year=, Quarter=, Month=,Week=, TransactionDate={'>=$(=Date(Max(TransactionDate) -14))<=$(=Date(Max(TransactionDate)))'}>} Sales )
Hope it helps!!