Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
eghostine
Partner - Contributor
Partner - Contributor

Data Aggregation question?

Kindly find the attached data that I'm working to aggregate on Qlik Sense using straight table.

The excel file includes the raw data and the scenario that i need to manipulate.

i failed to aggregate the data using RangeSum(), Above() and Sum() functions.

Please advise.

Labels (3)
3 Replies
chrismarlow
Specialist II
Specialist II

Hi,

You could try a valueloop if your Rnumber are fixed, similar to below. Few odd numbers in  your spreadsheet though .. so I can't agree your numbers;

20211213_1.png

Cheers,

Chris.

eghostine
Partner - Contributor
Partner - Contributor
Author

Hi Chrismarlow,

Thanks for your reply.

Actually we have multiple Bname values with different ranges of Rnumber.
That's why i wanted a dynamic aggregation to get the result for multiple Bnames.

My numbers are calculated based on the sum of the cells that you can find in Aggregated table result
as you can see below.

eghostine_0-1639468650898.png

 

chrismarlow
Specialist II
Specialist II

Hi,

I couldn't match the aggregation between your left and middle set of columns, which then makes impossible to agree to the rightmost set. So for B1-3-999 combo I got values totalling 370 (my column L in my screenshot) vs 460 in your calculation, that then impacts the calculation you have highlighted.

You could probably extend the value loop to cover all options but I agree it does feel like something that should be possible with above/rangesum which would probably be more performant if you have lots of data.

Cheers,

Chris.

Community Browser