You are on page 1of 11

Skip navigation

All Places > Forums > Discussions


16 Replies Latest reply on Oct 30, 2015 11:37 AM by Alexander Mou

1 2

How to combine two excel les with same elds but


dierent data (dierent years)
This question is Not Answered.

shalini.ravishankar Feb 8, 2015 6:42 PM


Hello Everyone,

I am new to Tableau, I have 5 dierent excel les(2007.xls, 2008.xls.. 2011.xls) with same
elds(lm name, genre,budget, rating, protability) but with data from dierent year(2007
to 2011). Can someone tell me how can I combine the lm name, genre and protability so
that I can see the visualization of 2007 to 2011 in a singe chart ?

I am using Tableau 8.3 Desktop

Thanks,
Shalini
I have the same question Show 0 Likes(0)
17649Views
Categories: Actions & Filters, Calculations, Data Sources & Connections, Extracts,
Queries & Performance
Tags: data-join
Content tagged with data-join
, tableaudesktop
Content tagged with tableaudesktop
, join_table
Content tagged with join_table
, custom_sql_query;
Content tagged with custom_sql_query;
Average User Rating: No ratings (0 ratings)
Average User Rating
No ratings
(0 ratings)
2 THIS HELPED ME
1. Re: How to combine two excel les with same elds but dierent data (dierent years)

Tableau kumar Feb 8, 2015 7:46 PM (in response to shalini.ravishankar)


I know this the Interview Question .

Data Appending from another Data source is the Solution for this.

Below are the XL sheets, where having data for 3 Countries in 3 Sheets.

1) All 3 Sheets are located in single XL Workbook.


2) Connect XL workbook (Sheet 1) to Tableau.
3) Then Extract the Data.

4) Connect to the Same XL workbook Sheet 2.

5) Dene the Relationship Between DB1 & DB2. Then Right click rst DB Extract, click
on "Append data from data source". Then refresh Extract

6) Now we are having data fro 3 Countries (Which are located in 3 XL sheets in 1 Workbook.)

It will help you.

Best Regards
Laxman Kumar

3 of 3 people found this helpful

Like Show 1 Likes(1) Actions


2. Re: How to combine two excel les with same elds but dierent data (dierent years)

shalini.ravishankar Feb 8, 2015 7:14 PM (in response to Tableau kumar)


Hi Kumar,

This is not a interview question but thanks for letting me know. I will keep it in mind
while preparing for interview

I am trying to learn tableau with the Hollywood data set (2007 to 2011)

Like Show 0 Likes(0) Actions


3. Re: How to combine two excel les with same elds but dierent data (dierent years)

shalini.ravishankar Feb 8, 2015 7:26 PM (in response to shalini.ravishankar)


Can Someone please tell me how can I do this ?

Like Show 0 Likes(0) Actions


4. Re: How to combine two excel les with same elds but dierent data (dierent years)

shalini.ravishankar Feb 8, 2015 8:01 PM (in response to Tableau kumar)


Hi Laxman,

I followed your steps but can't achieve the data appending

Step 1 :

I loaded 2007 sheet and

I tried to visualize the Lead studio vs Foreign gross

2.JPG

3.JPG

When I click extract data. It asked me to save. But I dont see the Extract option which
you are doing here. Its not enabled for me.

Can you tell me how do I achieve this

Like Show 0 Likes(0) Actions


5. Re: How to combine two excel les with same elds but dierent data (dierent years)

Tableau kumar Feb 8, 2015 8:23 PM (in response to shalini.ravishankar)


some times extract won't appear on the pc.
Attach sample packaged workbook, i will look into that.

Like Show 0 Likes(0) Actions


6. Re: How to combine two excel les with same elds but dierent data (dierent years)

shalini.ravishankar Feb 8, 2015 8:26 PM (in response to Tableau kumar)

Hi Laxman,

I have attached the Sample Packaged Workbook. Please look into this and lemme
know how can I achieve the Data Appending?
Hollywood.twbx 98.7 K
Like Show 0 Likes(0) Actions
7. Re: How to combine two excel les with same elds but dierent data (dierent years)

Tableau kumar Feb 9, 2015 2:41 AM (in response to shalini.ravishankar)


Hi,

Amending my previous post, share your XL workbook, I will look into that.

Like Show 0 Likes(0) Actions


8. Re: How to combine two excel les with same elds but dierent data (dierent years)

shalini.ravishankar Feb 9, 2015 6:11 AM (in response to Tableau kumar)


Hi Laxman,

Please nd the data (both csv and excel format , the hollywood_project.xls has
everything combined in a single excel workbook as sheets)
DATA.zip 247.5 K
Like Show 0 Likes(0) Actions
9. Re: How to combine two excel les with same elds but dierent data (dierent years)

Tableau kumar Feb 9, 2015 8:30 AM (in response to shalini.ravishankar)


As per my analysis, All XL Workbooks are having not similar sequence of Columns list.

We have Two columns with same name "Budget".


Check it once more. & Revert beck to this post.

Like Show 0 Likes(0) Actions


10. Re: How to combine two excel les with same elds but dierent data (dierent years)

shalini.ravishankar Feb 9, 2015 9:23 AM (in response to Tableau kumar)


Hi Laxman,

That was the raw data. I attached the proper xls le(removed the duplicate elds) .
HollyWood_Project.xlsx 86.3 K
Like Show 0 Likes(0) Actions
11. Re: How to combine two excel les with same elds but dierent data (dierent years)

Kevin Andrist Feb 9, 2015 12:26 PM (in response to shalini.ravishankar)


This may help.

http://kb.tableau.com/articles/knowledgebase/union-related-data-across-multipleexcel-tabs?lang=de-de

Like Show 0 Likes(0) Actions


12. Re: How to combine two excel les with same elds but dierent data (dierent years)

Tableau kumar Feb 10, 2015 5:56 AM (in response to shalini.ravishankar)


Hi,

Still you have to rene t he Database, The XL sheet shared is not having the same
Columns sequentially.

I did some modications & Performed Appending data like my rst post.

Note: If you refresh Extract, Primary data loose the data which was added from

others data sources.

Data is populating like "Major Studio" in some sheets, in other sheets "Lead
Studio"

Note: Columns Sequence & Names should be same Whenever we are adding data
from multiple databases by using "Data Appending" option. (Like while
implementing the Union in the SQL)

Best Regards
Laxman Kumar
2007 (HollyWood_Project).tde.zip 51.8 K
HollyWood_Project.xlsx 89.4 K
HollyWood_Project.twbx 172.6 K
Like Show 0 Likes(0) Actions
13. Re: How to combine two excel les with same elds but dierent data (dierent years)

shalini.ravishankar Feb 9, 2015 7:25 PM (in response to Tableau kumar)


Thanks Laxman. I will look into it.

Like Show 0 Likes(0) Actions


14. Re: How to combine two excel les with same elds but dierent data (dierent years)

shalini.ravishankar Feb 9, 2015 7:26 PM (in response to Kevin Andrist)


Hi Kevin,

Thanks for the site. It was really useful

Like Show 0 Likes(0) Actions


1 2

System Status

Blog
Academic
Careers
Contact Us
Legal & Privacy
Uninstall

2003-2016 Tableau Software. All Rights Reserved

You might also like