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

Announcements
Save an extra $150 Dec 1–7 with code CYBERWEEK - stackable with early bird savings: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
waszcma1
Partner - Creator II
Partner - Creator II

How to extract and show the last value per month.

Hi,

Could you please help me to solve this small problem?

How to create monthly aggregation and take the "Ballance ammount" for the last day of the month.

Please be aware that there are more than one transaction on the last day so then the load order should be consider.

My guessing is that I have to run this at the script load phase, and use previous function when date will change to the next then I can call the last value... but still not sure how it make happen or is it the right way to do it.

My idea: if(month(Previous(Date))>month(Date),Ballance,0) as monthly_result

Example:

QlikForum task 1.jpg

0 Replies