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: 
ganeshreddy
Creator III
Creator III

Logic help

Hi All,

I am having trouble while implementing code for qvd generation. Here in the attached code i am getting KPI(newly added fields) data for only the months of Sep 2015 and Oct 2015, but according to the requirement i need to calculate July 2015 KPI first to add to summary qvd after that i need to add August 2015 KPIs to it and so on. Please help to implement this code and please find the attached file.

Note :   we can hardcode month names in script .

Best Regards,

Ganesh

2 Replies
marcus_malinow
Partner - Specialist III
Partner - Specialist III

Ganesh,

in your KPI 1to 8 loads you have a condition:

and wo_completionDate >= Addmonths(monthStart(Today()),-1) and wo_completionDate <= monthEnd(Today())

If you remove this you'll generate data for all periods.

Marcus

ganeshreddy
Creator III
Creator III
Author

Hi All,

Can anyone help me on this.

Thanks in advance,

Best regards,

Ganesh