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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
MuraliPrasath
Creator III
Creator III

Merging two fields from diff tables with same field names? .

Hi,

I've two table like

Table1:

MaterialNo,

if([stockCategory]='Q', 'QualityHold') as Category,

StorageType;

Table2:

MaterialNo,

if([SoldToParty] = 02, 'CPP') as Category,

ShippingCondition;


How to use these two diff fields names out of same field name Category in a new table or so. Need help.




Labels (1)
6 Replies
PrashantSangle
MVP
MVP

write concatenate between these 2 table

if both table have same column Names then it will auto concatenate.

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
sunny_talwar
MVP
MVP

How to use these two diff fields names out of same field name Category in a new table or so. Need help.

How to use them? I guess can you elaborate on what you are trying to do?

senpradip007
Specialist III
Specialist III

Could you please elaborate it?

As per my understanding you may use Concatenate().

MuraliPrasath
Creator III
Creator III
Author

hi,

StockCategory and SoldToParty fields values should come under new field Category. Will this posible?

PrashantSangle
MVP
MVP

Hi,

yes it is possible.

try with below script

Table1:

Load

MaterialNo,

if([stockCategory]='Q', 'QualityHold') as Category,

StorageType;

Concatenate

Load

MaterialNo,

if([SoldToParty] = 02, 'CPP') as Category,

ShippingCondition;


Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
senpradip007
Specialist III
Specialist III

Try like,

Table1:

MaterialNo,

if([stockCategory]='Q', 'QualityHold') as Category,

StorageType;

Concatenate(Table1)

Table2:

MaterialNo,

if([SoldToParty] = 02, 'CPP') as Category,

ShippingCondition;