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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Comaparing amounts with Set Analysis

Hi!

I'm trying to compare the Hours for a period and only show those > 100000.

Can anybody explain why my syntax is wrong?

sum( {"=sum{$<PeriodCounter = {"$(#=max(PeriodCounter))"}>} REPORTED_HOURS )> 1000000"}>} REPORTED_HOURS )

Thanks!

Johan



2 Replies
Not applicable
Author

Hi Johan,

please provide an example we can work with.

Thank you!

Rainer

Not applicable
Author

Hi!

Actually my example is fetch from the Help text. This is the syntax I modified.

sum( {$<Customer = {"=Sum({1<Year = {2007}>} Sales ) > 1000000"}>} Sales )
returns the sales for current selection, but with a new selection in the "Customer" field: only customers who during 2007 had a total sales of more than 1000000.

This not working either.

/Johan