Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
kruel830
Contributor II
Contributor II

Balance Sheet and cumulative sums

Due to outsourcing of accounting, I have to rearrange Qlik Sense reporting.

The most problematic thing is  The Balance Sheet. Before the change I had cumulative sums for each account for every month from our ERP. Now I have opening balance for each account, but after that records only tell the change in that balance.

There is no problem to refer single month figures, set analysis goes like:
sum({<Year={$(=max(Year)},MonthNum={"<=$(=max(MonthNum))"},YearMonth=>} [Sum Eur] )
or
Sum({Date={">=$(vStartOfSelectedYear)<=$(vEndOfSelectedMonth)"},Month=, MonthYear=,Year=>} [Sum Eur])

The issue arises when I want to show e.g. value of inventory for last 12 months. The graph looks like this:

 

inventory.jpg

 

I need to create cumulative sums for each account (and account group) for each month in load script, but I don't have any clue how to do it. Any tips?

0 Replies