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: 
mohan2391
Creator III
Creator III

Chart with different Dimensions

Hi,

I have a chart with sum(sales) as expression for ex and i have 3 buttons to toggle dimensions for that chart in between 3 different dimensions.

That means, when i select button 1, it should show chart with dimension1 & sum(sales)

when i select  button 2, it should show chart with dimension2 & sum(sales)

when i select  button 3, it should show chart with dimension3 & sum(sales)

how to get it ?

20 Replies
mohan2391
Creator III
Creator III
Author

Capture1.PNGCapture2.PNGCapture3.PNGCapture4.PNGCapture5.PNGThe chart is showing like in the last pic, it is not changing according to the selections

mohan2391
Creator III
Creator III
Author

That I can do, but i need to apply the same logic for almost 20 charts. So, if i create separate charts, the number will increase to 60-80 charts that the client doesn't want..

vcanale
Partner - Creator II
Partner - Creator II

..what about the expression?
Do you have one only expression "sum(sales)" ?

antosraf
Contributor III
Contributor III

Hi

just use one variable for all 3 dimensions

variable=1

variable=2

variable=3

vcanale
Partner - Creator II
Partner - Creator II

ok.. so coming back to an unique chart.. you can apply the same condition on the expressions as for the dimensions, 3 dimensions and 3 expressions.. or if it's not strictly necessary to have buttons,  instead to use buttons to select the metric (month/quarter/year), you can include the 3 dimensions in a cycle group and use the cycle group as unique dimension and 1 expression.

mohan2391
Creator III
Creator III
Author

Okay, thanks for suggestions.

wallerjc
Partner - Contributor III
Partner - Contributor III

hi

I have created you an example to show.

Hope this helps.

Thanks,

james.

deepakkrish
Creator
Creator

You will surely get by using  container object.

Try that,

Frank_Hartmann
Master II
Master II

have a look at the attached sample.

hope this helps

rupamjyotidas
Specialist
Specialist

You probably might have click all the text boxes, all the variables have become 1. Best to use one variable 'vDim'

and use them as 1, 2 or 3 for each dimension.

You have many replies also and examples. It would help you. Probably when you have solved the issue, close the discussion.