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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Concatenate formulas

Hi,

how  can i concatenate to formulas? First I have if terms, that retrieve value1 without Null. Additional the second value2 should be ingegrated after if()...

=aggr(concat(if(value1='NULL','',value1)), name)

+

value2 = { $(=if (vVariable = 1,'a','b'))}

Regards

Stefan

Labels (1)
9 Replies
swuehl
Champion III
Champion III

Some more details about your data (like INPUT data and your expected results), as well as the context might be helpful.

Maybe like this?

=aggr(concat(if(value1='NULL','',value1 & if(vVariable=1,'a','b') )) , name)


or

=aggr(concat(if(value1='NULL','',value1)) & if(vVariable=1,'a','b') , name)

Anonymous
Not applicable
Author

I will attached an example.

Anonymous
Not applicable
Author

If you click on ∑ gross  or ∑ net comment should be change

swuehl
Champion III
Champion III

Ok, but change to what? What is the comment you expect e.g. for Europa or Italien in either case?

Anonymous
Not applicable
Author

In dependency of gross / net. Europe with 'gross' have comment: 'EAP...'. Europe with 'net' have comment 'Null'

swuehl
Champion III
Champion III

This seems to have nothing to do with your original request (concatenation of formulas) and it really would help if you could post some more details about your requirements (well, it's up to you, I am giving up for now).

Here is a solution that fulfills your latest request (though I think it's not really what you want).

preminqlik
Specialist II
Specialist II

hi stefen ,

i didnt get you what you exactly mean ...but according to my understanding i have done some changes

please find attchment

regards

Premhas

Anonymous
Not applicable
Author


Please find attached the right example.

Anonymous
Not applicable
Author

Please find attached the right example.