Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ananyaghosh
Creator III
Creator III

Need Bar Graph help


Hi,

I need to create a bar graph and have to use year as dimension, but need to largest two year in dimension and have to use summation of Income and Expense as expression.

Please suggest what to do in dimension and expression?

thanks,

Sandip

8 Replies
Gysbert_Wassenaar

See attached qvw.


talk is cheap, supply exceeds demand
Anonymous
Not applicable

Like this?

buzzy996
Master II
Master II

try tis,

set ur dimenions as year in dimenion table,

set ur expressions,sum(exp) ,sum(income) on expression tab,ur 2 expressions,

on dimenion limits tab just set largest as 2,uncheck other from bottom if u don't want.

largest2.PNG

ananyaghosh
Creator III
Creator III
Author

Hi,

It is straight table. But I want to show a bar graph. So if i am trying to create a bar graph no data is showing. Please help me to make  a bar graph.

ananyaghosh
Creator III
Creator III
Author

I did not see the largest two values in your graph. The largest two values of year should be 2015, 2014, but if I am restrict the values of two in limit dimension tab, it shows the wrong value.

anbu1984
Master III
Master III

Check this app. Largest two years are 2014 and 2012

ananyaghosh
Creator III
Creator III
Author

In my Attached excel sheet 2015 and 2014 are the largest two years. But it is now showing your app. So what to do now. Please suggest.

anbu1984
Master III
Master III

Check the Straight table in my app. I am getting the same values for 2015 when I sum them in your excel.