Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
ssriramin19
Contributor III
Contributor III

Year display

Hi,

      I have a field called years. The field years contains the years from 2009 to 2013. I am using bar graph chart. My requirement is that the year 2011 should not displayedin the bar graph. It should be done only in the front end.

Can any one help me in resolving the above scenario.

Thanks

Sriram

17 Replies
MayilVahanan

HI

Try like this

= Sum({<Year -={2011}>}Sales)

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable

Calculated dimension:

IF(years=2011, NULL(), years)

Then tick "Do not show nulls"

Cheers

Anonymous
Not applicable

HI,

In the dimensions, instead of using the field 'years' edit it to use 'if(years<>'2011',years)

or even better, in your expressions use condition: sum(if(years<>'2011',"the field to calculate"))

Anonymous
Not applicable

Hi ssriramin19,

adds a dimension calculated

if(YEAR= 2011,Null(),YEAR)

other option is

=Aggr(MaxString({$<YEAR-= {2011}>}YEAR),YEAR)

Not applicable

Hi Sriram ,

                   In the Dimension try to have below code .

    If ( Year <> 2011 , Year )

Also tick the CheckBox of Suppress when Value is Null .

Please let me know if there is anything .

jagan
Luminary Alumni
Luminary Alumni

Hi SriRam,

You can exclude Year 2011 in set analysis expression by using -= like below

=Sum({<Year-={2011}>} Sales)

Qlikview will show error new -=, but it works.

Hope this helps you.

Regards,

Jagan.

ssriramin19
Contributor III
Contributor III
Author

Thanks it works .Now I have achieved the requirement.

Thanks everyone for your time

ssriramin19
Contributor III
Contributor III
Author

Thanks it works .Now I have achieved the requirement.

Thanks everyone for your time