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: 
roxys373s
Contributor II
Contributor II

Combining Rows in a graph

Hello,

 

I was wondering if it was possible to combine two bars on a bar graph - the chart below is my graph and I want to combine the last five bars into one. How can I do this? 

roxys373s_0-1658264679807.png

 

Labels (4)
1 Solution

Accepted Solutions
sidhiq91
Specialist II
Specialist II

@roxys373s  Can you please try the below expression in your Dimension in Bar chart.

=if(match([Dimension],'TRES'),'TRES',
if(Match([Dimension],'MBS1','DIST','GINY','AGEN','SBAL'),'Others'))

I mentioned all the 5 dimension values as others, you can mention them as per your need.

If this resolves your issue please like and accept it as a solution.

View solution in original post

1 Reply
sidhiq91
Specialist II
Specialist II

@roxys373s  Can you please try the below expression in your Dimension in Bar chart.

=if(match([Dimension],'TRES'),'TRES',
if(Match([Dimension],'MBS1','DIST','GINY','AGEN','SBAL'),'Others'))

I mentioned all the 5 dimension values as others, you can mention them as per your need.

If this resolves your issue please like and accept it as a solution.