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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Pivot Chart Help - Conditions

Hello,

Looking for help on the Pivot Table dimension shown below

LISTBOX.png

I am using the following calculated dimension:

=IF(YEAR < $(vBusinessYear) , YEAR & ' YE', YEAR & ' YTD' )

I would like to get rid of 2005-2007 on the graph as I only need >= 2008.  I am also looking to have this table static to always show each year, so I have YEAR =, in the set analysis.  Is there a way to change the calculated dimension or use the conditional setting? I have tried several options with no luck.

Thank you,

Justin

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Did you try this by any chance?

=If(YEAR >= 2008, IF(YEAR < $(vBusinessYear) , YEAR & ' YE', YEAR & ' YTD'))



Update:
and ensure that you have suppressed the null value for the calculated dimension.


Suppress When Value is Null.PNG


Best,

Sunny

View solution in original post

5 Replies
sunny_talwar
MVP
MVP

Did you try this by any chance?

=If(YEAR >= 2008, IF(YEAR < $(vBusinessYear) , YEAR & ' YE', YEAR & ' YTD'))



Update:
and ensure that you have suppressed the null value for the calculated dimension.


Suppress When Value is Null.PNG


Best,

Sunny

Anonymous
Not applicable
Author

I thought I had, but apparently I did not. 

Thanks for the help,

Justin

sunny_talwar
MVP
MVP

So did it work now?

Best,

Sunny

Anonymous
Not applicable
Author

Sure does Sunny, thank you again.

sunny_talwar
MVP
MVP

Awesome!, glad to help.

Best,

Sunny