Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Select the minimum value (set analysis)

Hello,

In this example, my set analysis works if I do the set analysis based on the ID field.

But why does that not work based on the "Gewicht" field ? Both fields are numeric data.

Do you have an idea ? Thank you!

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

Is your expected result 340?

Try enclosing the dollar sign expansion in the set modifier element list with single quotes:

=sum({$<[Gewicht.]={'$(=min([Gewicht.], 1))'}>} ZE_value)

I think the percentage format of your field is confusing QV here.

Hope this helps,

Stefan

View solution in original post

2 Replies
swuehl
Champion III
Champion III

Is your expected result 340?

Try enclosing the dollar sign expansion in the set modifier element list with single quotes:

=sum({$<[Gewicht.]={'$(=min([Gewicht.], 1))'}>} ZE_value)

I think the percentage format of your field is confusing QV here.

Hope this helps,

Stefan

Not applicable
Author

Yes it was the problem thank you. I've also found a solution meanwhile, where I've created a second field in my script, that was: Gewicht * 100 ==> this gives only 10 and not 10%...

In this case the original expression works well... but your solution is by far the best! Thank you so much,

Ivan