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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Can it work?

I need to make this expression work. Any body has any idea?

SUM({$<TEXT(CUSTOMER_NUMBER&DIVISION)={'13715DNE'}>} DOLLAR)


CUSTOMER_NUMBER = 13715

DIVISION=DNE


Thanks,

Nima

Labels (1)
8 Replies
m_woolf
Master II
Master II

Concatenate CUSTOMER_NUMBER&DIVISION in script as NewField,

then use NewField in set analysis?

Not applicable
Author

I don't want to change any thing in script. that's why I want to do it in expression.

Not applicable
Author

It would be easiest to do it in the script, but you could use an IF statement if you needed it as an expression.  If(CUSTOMER_NUMBER & DIVISION='13715DNE',sum(Dollars) and then suppress nulls.

Not applicable
Author

Sorry add one more ) at the end

Not applicable
Author

The problem is that there is many of them and I want to compare all of them. That's why I used {}.

Not applicable
Author

Do you have a sample file of what you are looking for?

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

You can't use a function on the left side of the "=". So do it as two modifers like this:

SUM({$<CUSTOMER_NUMBER={13715}, DIVISION={DNE}>} DOLLAR)

-Rob

Not applicable
Author

I had no choice . I had to do it in script.

Thanks to all