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: 
tiklabaq
Creator
Creator

Form sum of excluded values

Hi there,

unfortunately my English is not so good, got myself the help of Google translator.

I'm new in QlikView and find this community just great.

Have a question that you can answer me hope :

I'll show you an example :

I have a table with the following information :

Material:Order TimeWorkplace
A11,5 hMachine A
A25 hMachine B

If I want to sum ​​the order time of each workplace , I just do sum ​​( order time) and select the Machine.

But I would still have the option to simulate the material A2 on the other machine via a inputbox .

That means, if I have chosen Machine A and entrie in the InputBox Material A2, this time should be summed. Unfortunately, this is not because only selected materials are summed.

How can I solve that?

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Use as set expression in your aggregation:

=sum({1<Material = {'$(vInputBoxVariable)'} >}[Order Time])

or look into alternate states to probably achieve something similar.

View solution in original post

2 Replies
swuehl
MVP
MVP

Use as set expression in your aggregation:

=sum({1<Material = {'$(vInputBoxVariable)'} >}[Order Time])

or look into alternate states to probably achieve something similar.

tiklabaq
Creator
Creator
Author

Thank you very much, it works 😃