Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Not applicable

Set Analysis help

Hi,

I have a requirement to show a bar chart for year wise sum of amounts. For this I have created a bar chart with 'Year' as dimension and 'Sum(Value') as expression. This is working fine.

But my requirement is, in each bar where it is showing data for that year I want to show data for >= that year. Means bar for 2010 should show sum of all values where year >= 2010 instead of year = 2010. The same should happen for 2011 bar and etc..

COuld you please help me with an set analysis expression to achieve this.

Sample qvw attached with this post.

Regards,

Murali

1 Solution

Accepted Solutions
MVP
MVP

Re: Set Analysis help

Hi,

Check the attached file hope this suits better for your requirement.

Regards,

Jagan.

11 Replies
stephen-a_redmo
Valued Contributor II

Set Analysis help

Hi Murali,

Use the Above function:

sum(Value) + above(sum(Value))

Regards,

Stephen

Not applicable

Set Analysis help

Tried that it didn't help.

It is basically showing 100 for 2010. Which is wrong.

lironbaram
Honored Contributor II

Re: Set Analysis help

try

this example

Not applicable

Set Analysis help

Thanks a lot for the response but still it is not as per my requirement.

The bar for 2010 should show 1000 and for 2011 it should show 900 etc...

chandashok
Contributor III

Re: Set Analysis help

Hi

    Hope the attached qv file will ve help to solve your problem

Regards

Ashok

lironbaram
Honored Contributor II

Re: Set Analysis help

check this one

Not applicable

Re: Set Analysis help

All,

The suggested solution didn't help me to solve my problem.

May be that I haven't described my problem correctly to this group.

Now attached is the updated QVW with the issue I am facing.

Any help?

Regards,

Murali

MVP
MVP

Re: Set Analysis help

Hi Murali,

Please check attached file.  Hope this helps you.

This is an alternate approach, if you need only two years this would be helpful.  If you need extra others add some more expressions.

Regards,

Jagan.

Not applicable

Re: Set Analysis help

I have already given this alternative solution, but business wants a stack graph. One bar for each year stacked for grip and non grip.

Any other solution?

Community Browser