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

Dynamic Dimension in lines

Hi,

i have the following problem.

I have a Table like this:

Product
SalesCost 1
Cost 2
Jackets1002050
Shoes20040100

Now when I select for example Jackets I have to show it in a diagramm like this:

Dimension
Sales100
- Cost 120
Result 180
- Cost 250
Result 230

Thanks for any ideas

Chris

1 Solution

Accepted Solutions
MayilVahanan

Hi

Are you expected like the attached file. (ValueList sheet)

Hope that helps

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

View solution in original post

3 Replies
jeffmartins
Partner - Creator II
Partner - Creator II

Hi,

You can create two tables and set the show condition to hide the first table when the product jackets is selected and show the second table. The show condition is on layout tab in the chart properties.

The condition for the first table could be GetSelectedCount(Product) <> 1 and for the second table GetSelectedCount(Product) = 1.

Regards

MayilVahanan

Hi

Are you expected like the attached file. (ValueList sheet)

Hope that helps

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

Hi,

this is EXACTLY what I expected!

Thank you very much for the quick answer!!