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: 
kunkumnaveen
Specialist
Specialist

how to write the expression

Hello All,

can any one help me in achieving this requirement.....the thing is i need to show sum of volume against recommended R_Calmonth column  what i mean is

Capture.PNG

what i need to show for   R_Calmonth      201707 =201704+201705+201706 which is  1600+1600+1768  =4968

                                 for                            201708=201704+201705+201706 +201707 which is   1600+1600+1768+400=5368

                                                                  201709=201704+201705+201706 +201707+201708 which is   1600+1600+1768+400=5368(beacuse i dont have any volume for 201708)

Expression i tried is

                             Actual:  Sum({<CALMONTH = {">=$(=YearStart(Max(CALMONTH))) <$(=max(CALMONTH))"}>} VOLUME)

                             

but i am not getting expected output

Capture1.PNG

Any suggestion plz

thanks

Naveen

13 Replies
Anonymous
Not applicable

Hi,

try this :

=aggr( rangesum(above( sum(CALMONTH), 1, rowno() )), VOLUME) 

kunkumnaveen
Specialist
Specialist
Author

HI,

It is giving only aggr value....

Capture.PNG

kunkumnaveen
Specialist
Specialist
Author

Is this  requirement is not possible to achieve ?

shraddha_g
Partner - Master III
Partner - Master III

It is possible to achieve but scenario is not clear.

May be one of the experts can help you.