Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Hide columns in a straight table

HI all,

I am new to qlikview and have a straight table that shows product cost for every month. When i make selections in the Listbox i want the straight table to only show the choises that i have made. For example, if i chose June in the listbox the straighttable shold only show the products that were sold in june and the cost for these.

Help would be much appreciated!

Beest regards!

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

... or it could be simpler to use a Pivot Table like the attached :

View solution in original post

11 Replies
santhoo_san
Partner - Creator II
Partner - Creator II

Go to Chart properties > Presentation > Conditional

select each of the expression and put your condition to hide and un-hide

Ex for June : if(getfieldselections(Month)=6,1,0)

Anonymous
Not applicable
Author

... or it could be simpler to use a Pivot Table like the attached :

awhitfield
Partner - Champion
Partner - Champion

Hi Hampus,

change the chart type to a pivot instead!

HTH - Andy

Not applicable
Author

Thank you for the response! There's still a problem tho. When i make a single selection of the months it works fine but when i do multiple month selections all columns hide, any thoghts?

best regards!

Not applicable
Author

okey nice! what is the if-expression youe have put in the table?

best regards!

Anonymous
Not applicable
Author

Hampus

Just checked the qvw that I posted and it works fine for me.

Not applicable
Author

You can try : =if(GetSelectedCount(Month)=1,1,0)

Not applicable
Author

Got the personal edition of qv at the moment, so cant open other qvw files right now. Shold be fixed until tomorrow tho, would appriciate the if statement:)

Anonymous
Not applicable
Author

Hampus

There is no if statement, just do it like this :

  • Create new Pivot Table
  • Use Product and Month as Dimensions
  • Use sum ( Cost ) as Expression
  • <OK>

  • Then grab [keep left mouse button down] the Month label, drag over sum ( Cost ) label and drop