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: 
RutiTaumanRubin
Creator
Creator

filter in dimensions field in combochart - qliksense

Hello,

I create bar chart with 2 measure and one dimension - Year.

I want to filter in the dimension (not in the measure) so it will bring me only the max & min Year.

Any Idea?

Thank's!!

1 Solution

Accepted Solutions
vinieme12
Champion III
Champion III

create 2 variables

vMinYear = Min(TOTAL Year)

vMaxYear = Max(TOTAL Year)



Change expression to, for example


=SUM(   {<  Year = {$(vMinYear),$(vMaxYear)} >} Sales)



Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

1 Reply
vinieme12
Champion III
Champion III

create 2 variables

vMinYear = Min(TOTAL Year)

vMaxYear = Max(TOTAL Year)



Change expression to, for example


=SUM(   {<  Year = {$(vMinYear),$(vMaxYear)} >} Sales)



Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.