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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
jaina
Contributor III
Contributor III

Get Measures for new Calculated measure field

Hi, 

Can anyone help? I have a measure field named Delivered Quantity where

Delivered Quantity = sum(aggr(sum(DISTINCT [Delivery Qty]), [Sales Order],[Sales Order Item No.]))

and field of Order Qty.

Now, i need to have another measure field that will match if Delivered Quantity = Order Qty.

How can I do that? 

Labels (1)
1 Solution

Accepted Solutions
Kushal_Chawda

may be below. Assuming sum([Order Qty]) is your measure. 

sum(

aggr(

if(

sum(DISTINCT [Delivery Qty])=sum([Order Quantity]),

<here write what you want to do if condition matched>

)

,

[Sales Order],[Sales Order Item No.])

)

View solution in original post

2 Replies
Kushal_Chawda

may be below. Assuming sum([Order Qty]) is your measure. 

sum(

aggr(

if(

sum(DISTINCT [Delivery Qty])=sum([Order Quantity]),

<here write what you want to do if condition matched>

)

,

[Sales Order],[Sales Order Item No.])

)

jaina
Contributor III
Contributor III
Author

Thank you! It worked. I also tried to add as variable.