Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

Not applicable

How to show correct value

Hi guys. I came upon this problem and do not know how to solve this. Basically I have the following data:

ItemAmountVolumes
F1111300
F2222200
S333310,000.00500
F5555100
F6666400
S444410,000.00500
20,000.00 2,000.00


This is a basic setup of an invoice. We sell 2 finished products (starting with F) as one set (starting with S). The system we are using allocates a sales amount to the SET which is correct. Thus we can sum(amount) an we will get total sales. The problem comes in with Volumes. If I sum(Volumes) I get double the number of volumes sold. How can I filter this so that it only shows the volumes of the SETS.

Thanks in advance.

Tags (1)
1 Solution

Accepted Solutions
MVP
MVP

How to show correct value

Hello Christo

I'd use set analysis for that, something like

Sum({< Item = {"=Left(Item, 1) = 'S'"} >} Volumes)


Hope that helps

4 Replies
Not applicable

How to show correct value

So you want the total for F and the total for S. You are asking to sum volumes for only specific items?

Or am i getting this wrong?

Not applicable

How to show correct value

Yes, that is exactly what I want to do. If I sum only F I loose the amount part of S and the otherway around.

MVP
MVP

How to show correct value

Hello Christo

I'd use set analysis for that, something like

Sum({< Item = {"=Left(Item, 1) = 'S'"} >} Volumes)


Hope that helps

Not applicable

How to show correct value

Great. It works.

Thank you for the help.

Community Browser