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

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
stephenedberkg
Creator III
Creator III

Line chart

in line chart i used below expression

=Sum({<Year={$(=Max(Year))},MonthID= {$(=Max(MonthID))},Year=,Month=>} Aggr(If(Only({1}MonthIDS) = Max(TOTAL <ID> MonthID ) + Only(TOTAL <ID> OrderLockPeriod)  ,

Sum({<Year={$(=Max(Year))},MonthID= {$(=Max(MonthID))},Year=,Month=>}sales)), ID, MonthIDS ))

if i selected the month sep it displaying only the sep month values.

but i want to show all month till sep.

help me?

Ragards

Stephen G

5 Replies
Anonymous
Not applicable

Use Date Filterration for same?

Like, Year Start Date till Max Date Selected

stephenedberkg
Creator III
Creator III
Author

could you please write it in the above expression?

Anonymous
Not applicable

Did you check these?

YTQ, QTD, MTD and WTD

Set Analysis for certain Point in Time

Clean explanation for same

effinty2112
Master
Master

Hi Stephen,

                    It looks to me that the set modifier MonthID= {$(=Max(MonthID))} is preventing you seeing months prior to Sep when Sep is selected try replacing that with something like

MonthID = {"<=$(=Max(MonthID))"}

Good luck.

stephenedberkg
Creator III
Creator III
Author

Dear Effinty2112

already i tried like that but i can't get it.