Discussion Board for collaboration related to QlikView App Development.
Hi All,
I want to calculate a KPI for ... Sum(Value).
The required o/p is
1)Sum of Value for entire Current year and upto previous month
=num(sum({<CalendarDate={'<=$(v_MaxMonth)'},AC_FiscalYear={'2017'}>}Value),'#,##0')
2)Sum of Value for Current year previous month.
=sum({<FiscalYear={'2017'},CalendarDate = {$(= Max([CalendarDate (#)]), -1)},CalendarDate=>}Value)
I used the above formulas are not working.
Cann any one help on this.
Check the attached
Is this calculation based on fiscal year or calendar year? Would you be able to share a sample?
Hi Sunny,
It is based on fiscal year
What is your fiscal year start date?
Jan 2017 means July 2016
can you let me know ,What will be the logic for Calendar Year and Calendar date?
May be like this:
Sum({<CalendarDate = {"$(='>=' & Date(YearStart(Max(CalendarDate), 0, 6), 'DateFieldFormatHere') & '<' & Date(MonthStart(Max(CalendarDate)), 'DateFieldFormatHere'))"}, FiscalYear, CalendarYear>} Value)
Hi Sunny,
Can you please have check the attached qvw.
What is the expected output (numerical output) for the two text boxes?
Check the attached