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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Exclude selectjions in chart

Hi All,

I have list box with all month value .Jan to Dec.

I have another object  apha period in chart as dimension which  contains combination of year and month 2015.01

my requiremnt is if i select Month list box it is corresponding corresponding alpha period value

for suppose if i select jan it is showing 201501

But i want to display all the alphaperiod value even if i select jan month .

Labels (1)
8 Replies
sunny_talwar
MVP
MVP

Are we talking about doing this in a list box? May be use an alternate state which doesn't impact any selection on the inherited state. or you can give this a try as well for your list box expression:

=Aggr(Only({<month = >}alphaperiod), alphaperiod)

Anonymous
Not applicable
Author

Hi

I have tried your expression but not working

Alphaperiod is used as dimension in chart

simenkg
Specialist
Specialist

In your expression, add

[Month]= to the Set analysis part.

If you dont have a set analysis in the expression then the whole expression will become something like:

sum({<[Month]=>} Value)

Remember that field names are case sensitive

sunny_talwar
MVP
MVP

Use this in your expressions:

{<month = >}

This will tell your expression (and dimension) that it should not change with selection in month listbox

Anonymous
Not applicable
Author

Hi

below is my set expr

i have added my monthname in the set epression but it is not working

=sum({<ANALYTICAL_CATEGORY={'PROFITLOSS'},PERIOD_YEAR=,PERIOD_ALPHA ={'<=$(vMaxPeriodAlpha)'},MONTHNAME=,MONTH_NAME=>}BUDGET)/FactorValue

Anonymous
Not applicable
Author

HI all,

I have added the below expression it is working

Sum({<MONTHNAME=>}1)

But if i made similar changes in the my set expression it is not getting exact result

MOdified set expression

=sum({<ANALYTICAL_CATEGORY={'PROFITLOSS'},PERIOD_YEAR=,PERIOD_ALPHA ={'<=$(vMaxPeriodAlpha)'},MONTHNAME=,MONTH_NAME=>}BUDGET)/FactorValue

jonathandienst
Partner - Champion III
Partner - Champion III

How is vMaxPeriodAlpha defined? If you create a text object with =vMaxPeriodAlpha as the expression, do you get what you would expect?

As always, the best way to get accurate suggestions is for you to post a sample the shows the issue, together with what you expect as the results.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Anonymous
Not applicable
Author

HI i have figured out problem Thanks for your responses