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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

Multi line chart

Hi All,

my below range sum expression is giving all zero for line chart , and this is working perfectly in pivot table . Can please expertise suggest on this .

Expression :
rangeSum(Before(TOTAL Count({<Year*={">2015"},
Status-={'Bolt','Trifor','Hexa','Nexon'}>}ID)+Sum({1<Year=P(Year)>}0), 0,ColumnNo(TOTAL)))

 

Can please someone help me on this .

Thanks in advance 

6 Replies
smilingjohn
Specialist
Specialist
Author

Any help expertise ???

smilingjohn
Specialist
Specialist
Author

Any help on this 

Anil_Babu_Samineni

May be try this for straight?

rangeSum(Above(TOTAL Count({<Year*={">2015"},
Status-={'Bolt','Trifor','Hexa','Nexon'}>}ID)+Sum({1<Year=P(Year)>}0), 0,RowNo(TOTAL)))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
smilingjohn
Specialist
Specialist
Author

Hi Anil

Thanks for th reply 

How do I convert the below expression to straight . Can you please help me.on this 

RangeSum(
RangeSum(Before(TOTAL Count({<Year *= {">2015"}, Status = {'OpenTicket'}>}Key) + Sum({1<Year *= {">2015"}>}0), 0, ColumnNo(TOTAL))),

-Before(TOTAL RangeSum(Before(TOTAL Count({<Year *= {">2015"}, Status = {'ClosedTicket'}>}Key) + Sum({1<Year *= {">2015"}>}0), 0, ColumnNo(TOTAL))))
)

Anil_Babu_Samineni

May be this

RangeSum(
RangeSum(Above(TOTAL Count({<Year *= {">2015"}, Status = {'OpenTicket'}>}Key) + Sum({1<Year *= {">2015"}>}0), 0, RowNo(TOTAL))),

-Above(TOTAL RangeSum(Above(TOTAL Count({<Year *= {">2015"}, Status = {'ClosedTicket'}>}Key) + Sum({1<Year *= {">2015"}>}0), 0, RowNo(TOTAL))))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Brett_Bleess
Former Employee
Former Employee

John, did Anil's last post do the trick for things?  Do not forget to use the Accept as Solution button on that post if it did to give him credit for the assist and let other Community Members know that worked for the use case.  If you are still working on things, leave an update.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.