Discussion board where members can get started with QlikView.
I wabt to calculate financial year start date from given date in qlikview ..can anyone pls tell how to calculate?
Go to Solution.
What is the definition of your fiscal year? When does it start?
You could probably use Yearstart() or Yearname() functions or similar date functions to assign the fiscal year to your date, add a field to your calendar table:
YearStart( date [, shift = 0 [, first_month_of_year = 1]])
YearName(date [, shift = 0 [, first_month_of_year = 1]] )
Year(Yearstart(Date, 0, 4)) as FiscalYear,
Yearname(Date, 0, 4) as FiscalYear,
With a different formatting (2011-2012) then before (2011).
In both examples, I used April (first_month_of_year=4) as start of the fiscal year.
Hope this helps,
yes..its is working..
Thank you so much. This is really helpful.