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

show two stack bars with different expression in qlikview.

Hi All,

I ‘m looking for a stacked bar graph that will show two bars .  One bar should show my 6 KPI in all the stack of each bar and other bar will show the  targets of all those KPI adjacent to the first bar. My dimension is year and year dimension just have one value.

Any ideas?

TIA

15 Replies
yogitamehta10
Creator
Creator
Author

but what  about values will it show two values on each bar then ( for two KPIs)

yogitamehta10
Creator
Creator
Author

not working

vishsaggi
Champion III
Champion III

It does not work like that. As Sashank suggested you might have to use Pick() Dimensions or ValueList function. IF you can share some sample data will be easy to work on. Can you create some sample data and the expressions you are trying that would be great.

yogitamehta10
Creator
Creator
Author

   

yearKPI1 KPI 2KPI1 TargetsKPI 2 Targets
201723343523
201724233535
201725234578
201725275678
201726234545
201727294534
201728304534
Anonymous
Not applicable

try to group KPI1 with KPI2 and KPI1Target with KPI2 Target from the expression window and try again the style as i mentioned in the screenshot

vishsaggi
Champion III
Champion III

I am not sure if that is possible. But this is the best i could do but may be not what you looking for. However, might be swuehl‌ can put some light on this.

Hey Stefan, any ideas on how to stack the KPIs and Targets as stacked bars rather than individual bars. Shown in the attached.