Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how i can get analysis between purticular dates

how i can get analysis for particular period(say from 10th july 2005 to 7th july 2010)

I am using two calendar object

and I have given the field orderdate for both the calendar object

but as it is coming from the same orderdate field the moment I select one date that same date gets selected in other calendar object

I tried using the resident concept by setting orderdate1 and tried using orderdate for one calendar object and orderdate1 for second calendar object but that is also not working

2 Replies
vikasmahajan

try following expression

SUM({$<FiscalYear={$(=max(FiscalYear)-1)},YEAR_MONTH=p(YEAR_MONTH_PREVIOUS),[Posting Date]={'<=$(vLMaxDate)'},FinancialYear=,MonthName= >}  [Sales Amount])

1.  YEAR_MONTH_PREVIOUS  is filed to create in calender master is as follows

     num((Year(TempDate)-1)&num(Month(TempDate),'00')) AS YEAR_MONTH_PREVIOUS, // Link between tables for                            previous month / year selection

2. vLmaxdate  is variable

=date(addyears(max([Posting Date]), -1), 'DD/MM/YYYY')

Hope this helps you for previous year ytd  vs curr year ytd  ( Like wise comparison)

or

http://community.qlik.com/thread/102332

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
Colin-Albert
Partner - Champion
Partner - Champion

Have a look at this example

http://community.qlik.com/docs/DOC-5598