SOLVED

Notepad to Excel - Data Transfer

Copper Contributor

Hi guys,

 

 

I need to import a very large amount of data from an Microsoft Notepad into an Excel file but the data set is too large for one Excel file (stops at about 1.4m rows).

 

It doesn't specify how much of the Notepad data did not import to the Excel file and I was wondering if you knew how to move the rest into a second (or third) Excel file?

 

I have done this under the data tab and 'import from text' but as I mentioned I am unable to import the remainder after the initial data transfer.

 

All suggestions welcome!

 

 

Thanks,

Alex

6 Replies
best response confirmed by alexdeeney (Copper Contributor)
Solution

@alexdeeney

You can use Power Query to import the data as it seems you did, but at the end, instead of loading to a table, select "create connection only" and "Add to the data model". This way the data will not be visible in the worksheet but is available in the memory for data analysis using pivot tables.

Here is a tutorial: https://www.youtube.com/watch?v=5u7bpysO3FQ

Thanks a mill - I really appreciate it!

@alexdeeney 

You are very welcome! :)

Please give it a try and if it solves your problem, please remember to mark my answer as a solution to your question. Thank you.

@Celia_Alves

Yes, that worked when importing the data to Excel using a 'Data Model' - thank you!

However, I am having difficulties manipulating the data in a Pivot Table to get the info I need - I am looking for sum of values however I can only get the count as "it is not a supported calculation for Text Data types"

Do you have any thought on how to overcome this issue?

Many Thanks,

Alex

@alexdeeney 

If any one cell within the column loaded to data model is not number, data type for this column will be Text and you can't change it on Decimal Number. If that's the case clean your data in Power Query before loading to data model. And on final step change in Power Query data type on Decimal number if that wasn't done.

@alexdeeney 

As @Sergei Baklan explained, you need to make sure that you define each column Data Type correctly on Power Query before importing your data into Excel, so that Excel knows what is a number and what is text.

For a thorough lesson about this matter, feel free to check this video: https://youtu.be/xbyN9iJhlso

1 best response

Accepted Solutions
best response confirmed by alexdeeney (Copper Contributor)
Solution

@alexdeeney

You can use Power Query to import the data as it seems you did, but at the end, instead of loading to a table, select "create connection only" and "Add to the data model". This way the data will not be visible in the worksheet but is available in the memory for data analysis using pivot tables.

Here is a tutorial: https://www.youtube.com/watch?v=5u7bpysO3FQ

View solution in original post