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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
zarmoton
Creator
Creator

How to hide some rows based of criteria resulting from a complex expression ?

hello

I would like to hide some rows in a pivot table based on the result of differents columns in expression a bit complex.

like this example


ScreenShot002.jpg

thk you for your help

Regrads,

1 Solution

Accepted Solutions
marcus_sommer

My suggestion was more a general approach, but it always depend on the individual case. It's quite complicated to solve this with a single expression, but with two expressions it's quite easy - see the example.

- Marcus

View solution in original post

9 Replies
marcus_sommer

In both columns must be a condition like:

if(IsNull(expression2012) or IsNull(expression2013), null(), expression2012)

and then hide null-values in tab presentation.

- Marcus

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached qvw.


talk is cheap, supply exceeds demand
Not applicable

gysbert - i love your solutions, you are very good - however sometimes it is not obvious to us rookies to see what you have done. Could you maybe write a small note on how you did it or why?

Just a future advice which could be nice if you adapted - Even though i know you already put a lot of work into it

zarmoton
Creator
Creator
Author

Hi Gysbert,

Thk you

But the attached file seems empty.

I don’t see my example with your correction

Thank you for your help

Regards,

zarmoton
Creator
Creator
Author

Hi Thomas,

Can you see something in the document proposed by Gysbert ?

Me, i see a blank document

If yes, can you copy/paste the solution/ (content of the expression) ?

thank you

Not applicable

Nope its blank here also

zarmoton
Creator
Creator
Author

Thk you Marcus

I don't understand what do you propose, for me there is only one expression.
So how to apply that: if(IsNull(expression2012) or IsNull(expression2013), null(), expression2012)

can you try to open my qvw as example, and propose a solution ?

thk you for your help

marcus_sommer

My suggestion was more a general approach, but it always depend on the individual case. It's quite complicated to solve this with a single expression, but with two expressions it's quite easy - see the example.

- Marcus

ljackson
Creator
Creator


Blank here too!