Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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

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

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