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

can anyone suggest ??

How to write this in expression of qlikview??

sum({< [Fiscal Month],[Fiscal Year]={"<=$(vMinYear)">} [fiscal_key] = {"<= $(vMinPeriod)"} >}[Ledger Amount])

I want to sum [Ledger Amount] where [Fiscal Month],{<[Fiscal Year]={$(vMinYear)}>} and also fiscal_key condition should be there??

2 Replies
suvechha_b
Creator III
Creator III
Author

Can you help me out in calculating :

sum(Ledger Amount) of previous year..

like :

2013Jan  :100 

2013Feb :200

2013 Mar:300

if I select Mar2013:

it should give :600

and if I select Feb2013 : 300

but the total should be for jan,feb and Mar = 600

subathra
Partner - Contributor III
Partner - Contributor III

RangeSum( Above( sum({<Month={'>=$(=yearstart(max(Month)))<=$(=max(Month))'}>}linesalesamount) , 0 , rowno()) )