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: 
Applicable88
Creator III
Creator III

Aggregation function with a if -statement

Hello,

i have following function:

=Aggr(If(Not IsNull([Employeenumber]),Ordernumber),Ordernumber)

I don't get the real meaning of this function, since "ordernumber" is there two times. 

What will it return here?

Thanks in advance.

Best.

1 Solution

Accepted Solutions
marcus_sommer
MVP
MVP

It creates a calculated dimension for the field Ordernumber - whereby it checked for each Ordernumber if there is an Employeenumber - if not those values won't be included. Fot the logic take a look on aggr() in the help or search for it here in the community.

- Marcus

View solution in original post

1 Reply
marcus_sommer
MVP
MVP

It creates a calculated dimension for the field Ordernumber - whereby it checked for each Ordernumber if there is an Employeenumber - if not those values won't be included. Fot the logic take a look on aggr() in the help or search for it here in the community.

- Marcus