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: 
Anonymous
Not applicable

How to separate + and - numbers from a numeric field?

I have a numerical field (EXP_AMT) that contains positive and negative numbers.

I want to be able to script the positive numbers from that field into an (EE_Spend) field and negative into (EE_Credit) field, still retaining the original (Exp_Amt)

Please see attachment

Your assistance would be gratefully received..

10 Replies
Anonymous
Not applicable
Author

‌yes, the attachment was confusing but thought my text explained the problem. Anyway now resolved by adding a field, saving to another QVD and reloading.then running info from Shahbaz. I just thought there was an easier way.. thanks to all for your help.