Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

Not applicable

How to create comparison between neighboring data on graph?

Hi!

I have trouble, which bother me for long time. I want compare two neighboring data on graph, which show sum of sale in given periods. I am using formula (sum of sale is my variable) =sum(sum of sale) / above(sum(sum of sale),rowno()-1), which works, but no in way I want - it compare every data to first value, not to nieghboring. I want to have different effect - the second value to first, the third to second etc. And it must be universal, because i want to filter months, according to my needs in some point of analysis. Can you help me? I'll be grateful.

1 Solution

Accepted Solutions

Re: How to create comparison between neighboring data on graph?

May be try this

Sum(sum of sale)/Above(Sum(sum of sale))

2 Replies

Re: How to create comparison between neighboring data on graph?

May be try this

Sum(sum of sale)/Above(Sum(sum of sale))

Not applicable

Re: How to create comparison between neighboring data on graph?

Yeah, of course, it works! Actually I've just overcomplicated it with this rowno. I think i did it because I want to have 100% on the first data, but to be honest it's not so important, so with your formula everything works smooth and I'm happy with this solution.

Thanks Sunny!

Community Browser