Excel 2010 Pivot Table corrupting data - excel

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

Related

Excel Power Query Moves old Data to the right

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

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.

Pivot Table returns wrong value on one row

I have a very strange problem. I built a macro that refreshes several PivotTables. Everything is fine except for one PivotTable where one value "AGHF21A#BFF" in the source gets changed into "54r" in the Pivot Table. Other PivotTables also get data from this source and they all get the correct value. This only happens with this specific case from a list of 30 products, this is the only one that changes the value in the Pivot Table.
I tried everything Excel would allow me do. I changed the format to string/general. I tried to do a calculated field. The strange thing is that if in the source data I add let's say any character, remove any character or change any character then the pivot table does recognize the code and does not change it to the strange code "54r." I have never seen any Pivot table do this before.
The Macro downloads different reports into Excel and then it refreshes the PivotTables. Any help would be very appreciated.

Pivot table in Excel

after googling my specific inquiry online, I haven't found much luck. Basically what I'm trying to do is take a excel file what has lots of columns. Now I'm only interested in some of these columns to be included in a pivot table. Is there a way to automatically create a pivot table, via a script of some sort which will occupy the desired columns in a pivot table that I want to take from the original excel file?
Thank you
The best way to do this for real is to set your file up to make the call to the database and specify that the destination is a pivot table.
How this is done depends greatly on what your data source is. But the functionality to do this is built in to the program without having to use VB at all.

What is this $ExternalData_1 supposed to mean in Excel PowerPivot and PowerQuery?

I am using Excel 2016 to clean my dataset using PowerQuery.
Let's say the data table is in Sheet1, and the cleaned data table produced by PowerQuery is Sheet2.
Now when I try to import the table in the Sheet2 to PowerPivot, the Table Import Wizard showed this:
Sheet2
Sheet2$ExternalData_1
Both of which look identical to me, and I just can't see the difference between them, but I don't want to choose the wrong source here. To avoid needless problems in the future, can anyone enlighten me what's the difference between them and which one should I choose as my source table?
Thanks!
I'd recommend you to load the data directly into a pivotable instead of creating a new table and its pivotable. It will reduce the error of choosing the wrong one.

Resources