Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikmpate0
Creator II
Creator II

Help can anyone see what is wrong with my expression?

I'm trying to sum all shipped_qty where the organisation is not equal to 1020 and the curret period flag is equal 'Y'

=Sum({< CurrentPeriodFlag = {'Y'},{<ORGNAISATION-={'1020'}>} Invoice_Details.SHIPPED_QTY)

1 Solution

Accepted Solutions
qlikmpate0
Creator II
Creator II
Author

Ok thank you guys for your support I have the answer :-

Sum({<CurrentPeriodFlag = {'Y'},ORGANISATION_ID-={1020}>} SHIPPED_QTY)

View solution in original post

12 Replies
tresesco
MVP
MVP

=Sum({< CurrentPeriodFlag = {'Y'}, ORGNAISATION-={'1020'}>} Invoice_Details.SHIPPED_QTY)

Removed extra '{<'

Not applicable

I think set identifier is missing.

qlikmpate0
Creator II
Creator II
Author

I removed '{<' still does not work added an extra '}' and that doesn't work either

ashfaq_haseeb
Champion III
Champion III


Hi,

Try below.

sum({<CurrentPeriodFlag = {'Y'},ORGNAISATION-={'1020'}>}Invoice_Details.SHIPPED_QTY)

If possible hare sample file.

Regards

ASHFAQ

Marcio_Campestrini
Specialist
Specialist

Hi Mina

Try this:

=Sum({$< CurrentPeriodFlag = {'Y'},{<ORGNAISATION-={'1020'}>} Invoice_Details.SHIPPED_QTY)


I think you missed the "$"

Márcio Rodrigo Campestrini
qlikmpate0
Creator II
Creator II
Author

Ok thank you guys for your support I have the answer :-

Sum({<CurrentPeriodFlag = {'Y'},ORGANISATION_ID-={1020}>} SHIPPED_QTY)

qlikmpate0
Creator II
Creator II
Author

Does the dollar include the selections in the UI doc?

Marcio_Campestrini
Specialist
Specialist

I don't think so. It's part of Set Analysis syntax.

Márcio Rodrigo Campestrini
Not applicable

I see your not equivalent sign is missing the expression, you need to use <> for at the organsisation where it is not equals to 1020