I have a Spotfire table which gets refreshed with new data from access table every week. This was working fine until today. The 'Refresh data' option is suddenly disabled. I am not sure why.
I tried reloading data which didn't work. New data is not being picked.
I also tried replacing the data table but calculated columns are being left out.
Please advise. Thank you!
This happens when the source data table no longer exists. Look at the Source Information tab for more info. Adding a new column shouldn't break it. The join will be reapplied on refresh.
Related
I have built a report using pivot table for a client and he has encountered this problem where if you simply refresh the pivot, it works fine but if you click Refresh All from the Data tab, it gives this error:
“The PivotTable field name is not valid. To create a PivotTable report, you must use data that is organized as a list with labeled columns. If you are changing the name of a PivotTable field, you must type a new name for the field.”
As per my research, the sole reason for this error is, if there are one or more columns in the source data without headers. In my case, the pivot table is based on a Data Model instead of a simple excel table or a range of data. Even then I looked at every column of Data Model tables but found nothing.
Can anyone suggest what could be the reason?
I found the solution for this. Sharing here so it may help someone else. The reason why Refresh worked and Refresh All gave error was, there was no problem in my current Pivot report. It was another Pivot table on a hidden sheet whose data source has been changed. So, traced that pivot table, changed it's source and it was solved!
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.
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.
I have a table in Excel that is populated by a live connection to an external database. The SQL used to generate this table and refresh it looks similar to this (only with more fields and such):
SELECT DISTINCT shr_pf_student_v.ID,
FROM shr_pf_student_v
What my customer wants to be able to do is add additional columns and manually add data that correlates to the ID in each row in Excel. Of course, when the ID data is refreshed, if new rows are added or deleted, the manually added data no longer correlates with the ID it was originally intended to match up with.
I've thoroughly explored the Excel Connection "External Data Properties" options and none solve this issue. I've only found this one solution here: http://www.mrexcel.com/forum/excel-questions/376984-database-query-possibilities.html but after several hours of attempted application, I can't get it to work and I'm not sure that it's possible to do this way either.
Lookup formulas won't work of course because as soon as the data is refreshed, the data looks just like the new refreshed set.
Any new viable options are welcomed. I've searched high and low but I can't help but think that this is such a valuable process that must be rather prevalent and have a solution developed for it somewhere out there?
Many thanks,
Lindsay
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