External Data Refresh Failed DATABASENAME Tfs_Analysis Work Item - excel

i have excel reports accessing analysis database. they are uploaded to sharepoint.
After upload they dont work anymore.
secure store credentials for analysis database have been created. connection string in excel is the same as in the other working reports that where already there.
user for the reports is the sharepoint service account.
user has full access to tfs, sharepoint, tfs database server and analysis server
when refreshing the report on my pc trough sharepoint web portal, the graphs get empty. refreshing it on other PC's in the network, the error comes up.
any ideas?

Apparently the cause for the error message was different date/time formats in the excel file and the server.
The file has TT.MM.JJ Germnan format, the server expects english format.

Related

Connecting to a database via excel vba

I have created this utility in Excel (and connect to a MS Access) The database -in Microsoft Access, is completed. I am in the second Phase of the project; I have successfully published database to SharePoint (lists) and will access it via Excel/Access. The database contains Linked Lists. The database open, but crashes when reading tables.

Refreshing Power BI with Access as Database

My Team is working with Power BI, where we use a Report Server and the Cloud. For one Power Bi file, we connected some Excel Sheets and a Access File. Everything is fine. The upload on every Server is working. Nonetheless, if we try to refresh the Power BI file there is a certain error.
If we try to refresh the PowerBI File in the report server the error is:
SessionID : a63570ad-2411-4b53-b9ce-6a969cb00c97
[0] -1055784932 : DataFormat.Error: Unspecified error. Project_Acquisition_Overview_AE-BE_current.accdb. ;Unspecified error. The exception was raised by the IDbCommand interface.
[1] -1055129594 : The current operation was cancelled because another operation in the transaction failed.
[2] -1055784932 : The command has been canceled.. The exception was raised by the IDbCommand interface.
If we try to refresh the PowerBi file via the Cloud the error is following:
Fehler bei der Datenquelle{"error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","pbi.error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","parameters":{},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorCode","detail":{"type":1,"value":"-2147467259"}},{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"Microsoft Access: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. The 64-bit version of the Access Database Engine OLEDB provider may be required to read 'Project_Acquisition_Overview_AE-BE_current.accdb'. To download the client software, visit the following site: https://go.microsoft.com/fwlink/?LinkID=285987."}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.ValueError.Reason","detail":{"type":1,"value":"DataSource.NotFound"}}],"exceptionCulprit":1}}} Table: Acquisition_Overview.
Cluster-URIWABI-NORTH-EUROPE-L-PRIMARY-redirect.analysis.windows.net
Aktivitäts-IDb5924bb8-a673-4ebd-8dc5-94d8d4af6b02
Anforderungs-IDd4f1083a-dfd5-3c96-dfca-4ecca3a57eb1
Zeit2021-11-18 10:03:07Z
Does someone have an idea what could be the problem?
The following on-premise data sources can NOT be used with Power BI Cloud
SAP BW
SAP HANA
ODBC
Access DB / Legacy Excel files (.xls)
This means that Access DB cannot be refreshed in the Power BI Cloud.

Power BI - question about local and cloud data source

I am creating a report in Power BI, where some data is imported from a cloud storage system. There is also a local data source (an excel sheet) being used.
My question is, if I publish this report on Power BI service and share it with someone, will they be able to see visuals using local data source as well?
There is also possibility of using Sharepoint. I can create a team in Sharepoint with the local excel file and use that as a source in Power BI. Am I correct in assuming this way people in my sharepoint team will be able to see all data in the report?
For your scenario with a spreadsheet from a desktop and a cloud data source:
If you prepare the report using import mode in PowerBI desktop and publish it to PowerBI online, then that report data will be visible to all users with access to the report in the provisioned workspace. The caveat is that data will not be able to be refreshed from the Excel file once the report is deployed online. When you create the report on your desktop, you have access to the cloud data and the spreadsheet, then a copy of that data is published to the PowerBI service. When PowerBI service is set to refresh, then it can't connect to your desktop and causes the issue.
To solve this you either need a personal or standard gateway. This provides the technology for PowerBI to connect to your on-premise (standard gateway) or on-desktop (personal mode) data. Once the gateway is in place, PowerBI can pull data in to the cloud from an on-premise network or a personal desktop to refresh reports.
The other alternative is, as you mention, putting the excel in SharePoint online. This effectively makes the spreadsheet a "cloud data source" and can be refreshed from PowerBI service without the need for a gateway.

PowerBI Azure refresh not working, data not updated

I have power bi configured on Azure, a dataset reading its data from excel document which is updated on daily basis.
The refresh is done manually through powerbi desktop. After I click on refresh, my reports and dashboards are reading updated figures, I open it from power bi desktop; however if I open it from any browser, data is not updated, I will have to publish my power bi reports and dashboards from power bi desktop publish button in order to see my data updated from browser.
Power BI desktop is the development tool for powerbi.com, after you have published it to powerbi.com, it has no relation with your offline .pbix file. Publishing it again (with the same name), will overwrite the file with it's data.
So a local refresh in power bi desktop has no influence on the file in powerbi.com
If you want that powerbi.com can read data from your excel file (on Premise), you'll have to setup a powerbi gateway. More information on following link:
Power BI gateway personal mode
On-premises data sources
A personal gateway is required in order to refresh datasets that get data from a supported on-premises data source in your organization.
With a gateway, REFRESH NOW and SCHEDULE REFRESH are supported for datasets uploaded from:
Microsoft Excel 2013 (or later) workbooks where Power Query or Power Pivot is used to connect to and query data from a supported on-premises data source. All on-premises data sources shown in Get External Data in Power Query or Power Pivot support refresh except for Hadoop file (HDFS) and Microsoft Exchange.
I had to uninstall my "on-premises data gateway (personal mode) and reinstall updated version. it is working now.

Using SPFile.OpenBinary() fails with "Cannot open file". StoragePoint RBS issue?

I'm trying to restore a file from a backup content database in SharePoint 2016 by using the Get-SPContentDatabase -ConnectAsUnattachedDatabase and drilling down to the item level to use the OpenBinary() call. I believe this is failing because the BLOB is externalized via StoragePoint, but I'm not sure how to allow this command to access the external BLOB data. Any ideas on what permissions might be necessary? The BLOB and endpoint still exist in SharePoint and on the file share and I am successfully able to see the item and its properties within PowerShell.
I found a similar issue where the OP said they solved it by giving explicit permissions to the StoragePoint databases, but Imm not sure what permissions or which databases need them. listItem.File.OpenBinary() not working - Remote Blob Storage / FileStreaming not enabled on SQL Server the culprit?
I was able to figure this out. I was testing from a server that didn't have the full StoragePoint installation. Testing the same call from one of the web servers in the farm I was able to open and download the file.

Resources