Excel Power Query Moves old Data to the right - excel

Currently i am copy/pasting data from one file into the data tab of a workbook. I would like to speed this up with power query. When i get data from file and drop it in, it works fine but it pushes my old data to the right and any cell references go with it.
Is there an option to overwrite what is there? i understand once it’s set up the first time as a power query function it won’t be a problem, it will just be a case of me refreshing the workbook.
Thanks.

Apologies, I found that if i just empty the page and then add the data, The cell references do not change as there is no data to push to the right.
I wanted to answer my own question incase anyone else runs into the problem
Thanks

Related

How can I write back to source excel files when I get Excel data from data tab?

So, I want to create one Excel file each for every manager with only one single sheet and place it on OneDrive.
In order to get the data in one place, I am creating another excel file called combined.xlsx.
Now, I can export each workbook to a tab using Data -> Get Data -> From File -> From Workbook .
This is great so far. So, I can read data of 10 excelfiles on 10 sheets in combined.xlsx.
Now, I want to modify contents of one of the tabs and make sure it is reflected to the original file. How can I do this?
To elaborate on why it is not possible, you need to understand how Power Query deals with data:
You load your data into Power Query via the "Data" tab. The source can be anything Microsoft allows.
You then manipulate the data any which way in Power Query.
As a last step, you decide if and where to load the results. If you only want to create a connection to the query, you select "Close and Load to", which appears after you click on the arrow next to "Close and Load", and you pick that. Otherwise, the only other options are loading the query results to a table, PivotTable report, PivotChart.
Because the output sheets you have are connected to the query that produced them, any time you refresh the query, whatever manual changes you have made in the table that the query created originally will be wiped out and overwritten with the refreshed data.
If you were able to write back to the source here, you'd in effect
create a circular reference.
Check out this article about having Power Query output your data after manipulating it, maybe it helps.

how to insert a date stamp into a table when a row is added automatically

I am wanting to update a table we have for outstanding issue in one of our projects so the date of issue being raised field is prepopulated when a new row is inserted in the table. the reason for doing this is I'm aware users occasionally will miss this field when adding data to the table and when going back it is hard to remember when you you raised the issue in the first place.
VBA is not my strong suit but I understand just about enough to get by and know the code I need for inserting the timestamp into a cell and just need to work out how to direct it to the right part of the table but that shouldn't just need to point it to the last row of the table and the column can be feed by its header.
What I'm more stuck on is how I get this done without having the user notice so no need for a macro button to add rows etc. I believe this should be doable using the change event handler but I just don't know enough about how I'd set this up. any advice would be appreciated
if you require any sample code I'm working or a mock up of the table let me know and i'll pull something together.

MS Access - Data in top row appears and disappears when focus on the cell changes.

Its a bit of a weird one but I have a linked table within my database. The table is an excel table with identical field headings and data types and until recently has worked fine however now when I traverse the linked table in Access the data will change every other move, changing from the original row to show data in the row below. Iv had a script output the values of the top row and it displays normally however I cant append this linked table into anything and I assume its this glitch.
Im stumped and would love any ideas as to how this happened and how it can be fixed.
This is an unusual post as I've never quite heard of this type issue. To sanity check things I would suggest that you delete your excel table from the navigation pane in Access - and then relink it.
So then perhaps I didn't understand, and I am wondering what is meant in your first post by: "The table is an excel table with identical field headings and data types"
A link to excel is a qualified "table" so to speak. You should be able to double click on it within Access, it opens in data sheet view and you see all the data but you can't write to it. You can't write back into the excel.
You can query it....
You can append the query results of the excel into a true Access table.

Tableau, uphill task to replace datasource

In general, when I wish to replace one EXCEL worksheet with another in tableau, the changes don't take effect.
Usually I reopen the new EXCEL file, reopen Tableau, sometimes even renaming the EXCEL file, and even then, it just doesn't work.
I thought something simple as replacing Tableau datasource would be seamless, why does it continue to use old, outdated datasource.
Or is there a step I am missing?
You can get this in Tableau in 2 steps.
The first is the the data connection which you already done.
The 2nd if your base data has changed then you have to extract the data.
select the data window -> extract data -> extract
The reason to this is that the first part usually involves query (not in your case) which defines your data set. the 2nd is to refresh whenever your row data has been change. you can set this to run automatically as well.

Excel 2010 Pivot Table corrupting data

I have an excel pivot table that when refreshed is corrupting data. It basically loses the one value and replaces it with another.
So the datasheet has the value of "Kramerville" in the prosperator column and "Rustenburg" but the pivot table has changed it so there is no "Kramerville" but "Rustenburg" and "Rustenburg2".
Anyone know why it would behave like this?
Thanks
I did not find why it had happened but it seems to have been a corrupted file. My suggestion for anyone having the same issue- copy your data into a new file and recreate the pivot, that cleared the issue for me. I used exactly the same VBA code in the new file and it works perfectly, If I discover why the data corrupted I will update so people know how to avoid the same issue

Resources