How can I edit the data source in the information link in Spotfire? - spotfire

Some of my source table names in my postgreSQL database have changed. Spotfire's information link can't load the table now.
In the Edit function of the information link there is no possibility to change the data source path or the table name.
The Data Connection Properties does not contain any entry.
Any ideas what I can do except creating new information links? (That would mean I have to recreate all calculated columns etc.)

Related

Save a pivot table structure based on external source without saving/cacheing the data

I have an external data source that implements row-level security.
I have an XLSX file which I want to distribute which will have a pivot table based on the external source. All of my users have an identically configured ODBC connection, except it uses each of their personal credentials and thus they have access to different data.
I've explored all of the connection & pivot table settings that supposedly give you such controls but they are not working for me. When I save my workbook, it seems that it is not possible to prevent the contents of the pivot table (as they currently look) from being saved. When a new user opens it, they will be able to see the current pivot table contents (which they perhaps shouldn't have access to) until they click "enable content", accept the various popups and/or wait for refresh.
Previously, I created a table based on external source and configured the connection to not save data - this worked. I then created a pivot table on top of the table range and configured it to not save source data. This sort of works except the table refreshes first and so the pivot table loses its settings and you have to start again with a blank pivot.
If you create a pivot table directly on the external source (rather than indirectly via a table), which I expect is the best practice, the tickbox in pivot table options for "Save source data with file" is greyed - presumably because excel knows the source data is actually external and so the question isn't relevant - except is is relevant because the pivot table output still contains data when saved
The only thing I can think of is is save the workbook as a user with 0 permission so the pivot table is structured correctly but with 0 contents and then send that round. Users will then see no/harmless data before it auto-refreshes at which point, they'll see what they should see.
Kind of feels like a glaring omission from excel. Am I missing something?

Cannot determine source of Excel OneDrive data source in Powerapps

I have used a table in an Excel workbook stored on OneDrive as a data source in Powerapps. The data source is listed as 'tblALL' (which is the name as the table), and OneDrive for Business. But is there nowhere that I can find the name of the workbook where this data resides
This is an interesting one - the short answer is no - there's no place where we can find the name of the workbook where the table is stored. The app only contains a "dataset name" which is a key that the connector can use to find the actual file (workbook), and there's no way to retrieve which file that key maps to. You can consider creating a new feature request in the PowerApps Ideas board for this.
One possible way to find out which file contains a given table is to make a change to that table (i.e., using the app, first add a new record, then remove it) - and go over the workbooks that you have stored in OneDrive to see which one was updated more recently. Granted, this may take some time if you have multiple folders where the workbook can be stored, but that was the only way I could find today.

how to export data from excel table into access table which is not the same as excel table?

How to export data from excel table into access table which is not the same as excel table, ie some data is same, some is different, I want to auto extract only certain data?
DETAILS
I have over 5000 students and researchers in my Access database and they are unique to employee/student number. I need to maintain training records however I do not get training records sent to me for whatever reason. But HR does and their Excel database is auto-updated with this information.
The Excel HR database and my Access H&S database both use Emp/Student # as identifiers and our training columns are the exact same BUT they are not entirely the same (ie. they have some columns that I don't have and Viceversa).
I spent the holidays updating my database with their training info so that AT THIS MOMENT they are the same. But come the next pay period they will have an auto update of training and I will NOT. Therefore I want to figure out a way to auto-update my DB with theirs... Would love any help you can offer. I know I know they answer may be staring me in the face but I am new to access and I am asking for help. Thanks in advance!
Japes
You can link to your Excel spreadsheet from Access or import it into a new table in Access. Then create a new query that links your Excel table to the Access by the identifier field(s). Set the query to be an Update query and then select the fields in the Excel table that you want to update the Access table with. I would suggest that you make a backup of the Access data before actually running the update query.
Not sure if I'm saying the same thing that #jhTuppeny is saying, but LINK the Excel table into your Access database. Call that the "rawdata" table or whatever you want to call it.
Use this "rawdata" table as the basis for a query in access that will either append/update your Access table. In this query, you can also automate the data for fields that the rawdata doesn't have, or fill it in with DUMMY values that you can manually update in your updated table.

Excel internal database connection

I built a data entry UserForm to populate a worksheet that will serve as the raw database. The raw data requires further manipulation and analysis in order to be reported, so I set up a database connection using Get External Data>From Microsoft Query>Excel Files, pointed it to the file I was already working in, selected the fields I wanted and performed basic functions on those I wanted aggregated. This creates an Excel table where I then use formulas that to complete the analysis. It works great for me; I can add entries to the database, Refresh the summary table, the new entries are added and the formulas populate automatically.
The problem is that no one else can refresh the table because it's looking locally for the file. The connection string is:
DSN=Excel Files;DBQ=C:\Users\MyName\Desktop\Folder 1\Results.xlsm;DefaultDir=C:\Users\MyName\Desktop\Folder 1;DriverId=1046;MaxBufferSize=2048;PageTimeout=5;
I have a very basic understanding of the database connections, but I need this file to be as automated as possible by request of my colleague. Can I fix the connection string so that the file is "flexible" and can be refreshed on any computer? Is this the best solution? If not, what else can I do that does not involve downloading additional plugins or 3rd party add-ins?
If what you need is a file containing the raw data (a Database) AND one or more excel files connected to it that pick up the data from the database and work with this data, you need to split the two things. You can do the database with an access file located on a shared directory with an appropriate table and you can reproduce the user form in this file so the insertion of the data will be made in this file. Then you connect one or more excel files (using connection Mode = Share Deny None, so you can update the data and at the same time work with them from the excel files), the data will be imported in the files in tables and here you do all the proessing you need.
If one file is enough for you (you don't need to have a database with the row data separated and you don't need to use the file from different location simultaneously) and all the problem is that if the file is opened from a different location from the one specifyed in the connection string it does not work...well in this case (that seems the case) i don't know why to use a connection to the same file.
If what you need is a table for work with, just create it selecting the range with the data you already have inserted (Create a table - quick start guide) and then when you add data through the form instead of adding them in a "normal" row, add them to a new row of the table with something like WorkSheets("name").ListObjects("table_name").ListRows.Add and add the data in the new table row.

Can Access replace data information in an upload?

I have a project in Access where we are using tables that have the customers information. These tables were created by downloading as Excel from another site of ours and then uploading to the Access program.
The problem is that the information on our other site changes sometimes, and we really don't know what has changed on our existing information. When we append a new Excel download it will add customeraccountID's that are not on the table yet, but I need a way of finding out if there are any changes to the existing information.
I have tried an update query, but that makes forms that have a relationship to the customer information tables not show the detail section. From what I have researched, this is possibly due to the update query making the updated table read only.
I have taken an made a query that gives me a list of all the duplicates between the newly downloaded Excel and the existing table, but now I need some way to find if there is any changes. There are 60 columns where there could be changes.
We are not against manually updated our tables if we can find a way of finding out what has changed.
I have considered downloading the duplicates report to excel and running a formula using exact(a2:a61,b2:b61), but then I would have to copy that formula to every other row through thousands of rows. I have no preference to whether we find the changes by Excel or Access.
The best way would be to have Access replace the information when appending the new information, not just drop the duplicates. Which would mean having Access replace the existing data when appending. Is that possible or can a report be created that shows where the information differs?

Resources