Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
surajap123
Creator II
Creator II

Concatenate issue

Hi Experts,

When I concatenate tables, I see that my expenses rows in straight table show region as null, even though the personID key values matches. What is the proper way to bring region values to the 2nd table, I mean the best approach to follow in my situation.

Table1:
LOAD * INLINE [
Region, Sales, PersonID
US, 100, 1
UK, 200, 2
IND, 300, 3
]
;

Concatenate(Table1)
LOAD * INLINE [
PersonID, Expenses
1, 10
2, 20
3, 30
]
;


Please note that I don't want to do join.

Thanks!

1 Solution

Accepted Solutions
marcus_sommer

You could consider to use mapping instead of joining: Don't join - use Applymap instead. Another way would be to include Region to your concatenate-load or to remove from your Table1 and keep Region as an associated dimension-table to Table1 by connecting them over PersonID.

- Marcus

View solution in original post

3 Replies
annafuksa1
Creator III
Creator III

you should to use left join

look at the app t have attach

Anna

marcus_sommer

You could consider to use mapping instead of joining: Don't join - use Applymap instead. Another way would be to include Region to your concatenate-load or to remove from your Table1 and keep Region as an associated dimension-table to Table1 by connecting them over PersonID.

- Marcus

surajap123
Creator II
Creator II
Author

Thank you so much. I like your second approach