Connect shared folder to power bi - powerbi

I have created a gateway with SQL connections. I wanted to connect an excel file that is stored on the company's shared folder but I keep getting an error:
I tried changing the file location to: "\\gvnas\GVNAS\N:\01. CORPORATE....\Compiled Dwell Time-Mail.xlsx" but it threw the same error.
I also have a power BI file with the same path and it works fine:

Have you check to ensure all system, Power BI and SQL sever have access to the folder your trying to read from?

Related

Need to change the file path from on premise to sharepoint in power bi

In this scenario, I am using on premise data source like excel file in power bi. Here I have made some ETL process and Calculations as well. Now the problem is, my client want me to do migrate all on premise data sources into sharepoint. For that, If I change the file path in power bi, can I have all the changes I made earlier?
You don't have to change any transfomations if you read Excel via the web connector. However, if you're using the SharePoint Folder connector (recommended), you'll probably have to add an additional another navigation step to access the sheets.

Data Source Credentials and Scheduled Refresh greyed out in Power BI Service

I have a problem:
I have a PBI file containing three data sources: 2 SQL Server sources + 1 API call.
I have separate queries for each respective data source and an additional query that combines all three queries into a single table.
Both SQL Server sources have been added to a gateway and I can set scheduled refresh for each source, if I publish them in separate PBI files.
However, I cannot set scheduled refresh for the file that contains all three sources - both the data source credentials and scheduled refresh options are greyed out.
The manage gateway section of the settings page also shows no gateway options. If I publish the SQL Server data (with no API data) I can clearly see my data source and gateway under the gateway heading.
screenshot of dataset settings
Does anyone have any idea why this might be happening?
Thank you,
I had the same problem.
I have a PBI file with different data sources : SQL Server sources and APIs.
On The PowerBI Service the Data Source Credentials was grayed out, so here's what I did :
Downloaded the file
Refresh the file locally and signed up on all data sources (the Server of DB Server name changed but not for the APIs)
published in the PBI Service
It worked for me.
Same problem here. After additional poking around I learned that the "Web Source" (API call) was the reason for the inability to refresh and can cause "Data Source Credentials" to be inaccessible. This was annoying to learn after diving down several rabbit holes.
Several (weak) workarounds
Using Excel's Power Query to connect to the web source. Learn more about Excel's Power Query.
Make any needed transformations.
Put the Excel file in SharePoint Online folder or other PBI accessible directory.
Connect to the Excel file using the appropriate data source (i.e. SharePoint Folder).
Alternatively, if the data is static, you can directly copy/paste values into PBI (if you just need to get this done and move on with your life):
Copy target values
Open Power Query Editor
Home tab -> Enter Data
Paste values into table
Hopefully this will save some poor soul a little of their life.

Gateway between Power BI and Excel

Good afternoon,
I want to do an automatic update between Power BI and an Excel that I have on my desktop of my laptop.
I already installed the Gateway, here is the configuration of the origin of the information.
Could you tell me how these fields are completed to make a correct connection
Use the same path that you have used in the Power Query Source for the workbook.
Use credentials that can access that file.
If you have several workbooks in different places, you need connections for each workbook.

Power BI error won't go away: "Cannot load model. We couldn't connect to your Analysis Services database."

I'm connecting Power BI Desktop to a Tabular model as my data source, and the model recently changed names.
When I open the report in Power BI Desktop, an error window pops up, and doesn't go away even when clicking on Close or X.
Since this error window won't go away, I can't Edit Queries to fix the problem.
Does anyone have any suggestions for how to make the error go away, or how to change the data source without opening the report in Desktop?
Thank you.
Text of the error: Cannot load model. We couldn't connect to your Analysis Services database.
Double-check that your server and database names are correct, and make sure you have permission to access them.
The Model cube either does not exist or has not been processed.
If only the name of your Tabular Model datasource has changed Power BI will prompt you to edit the connection.
However, if you were connecting to a Perspective which no-longer exists you will get the following error:
Cannot Load Model
We couldn't connect to your Analysis Services
database. Double-check that your server and database names are
correct, and that you have permission to access them.
The cube either does not exist or has not been processed.
error message
To fix this you must edit the PBIX file directly.
Rename the file as a zip and extract it.
In the root folder there is a 'Connections' file.
Edit it to remove the 'Cube=' reference:
{"Version":1,
"Connections":[{"Name":"EntityDataSource",
"ConnectionString":"Data Source=TEST-DB;Initial Catalog=TestAS;Cube=Labour",
"ConnectionType":"analysisServicesDatabaseLive"}]}
becomes
{"Version":1,
"Connections":[{"Name":"EntityDataSource",
"ConnectionString":"Data Source=TEST-DB;Initial Catalog=TestAS",
"ConnectionType":"analysisServicesDatabaseLive"}]}
Then delete the 'SecurityBindings' file.
If you don't Power BI with throw this error:
Unable to open document
This file is corrupted or was created by an unrecognized version of Power BI Desktop. It can't be opened.
unable to open document error
Now zip the files up again and rename it as a .pbix file.
If you still get a 'corrupted file' message be sure you did not include the folder that you expanded the PBIX into in the new zip. The root of the new zip file must hold the Reports folder, [Content_Types].xml, Connections, DataMashup, etc
AFAIK You can make any change to a PBIX file this way, the key is to delete SecurityBindings.
Please open the powerbi file in the older version and there it will allow to change the connection.

Where to find .pbix file after server shut down unexpectedly

I was building a report in Power bi. I did not save the file yet, so by default it was named "Untitled".
Server shut down unexpectedly. After reboot I opened Power BI but. In "View recovered files" I am unable to find the one I was working on.
I'm trying to find the location where Power BI stores .ipbx files but cannot find it.
Does anybody knows is there a chance to recover my Untitled file?
Thanks
Power BI stores temporary saved versions of the PBIX reports you build in the folder:
%localappdata%\Microsoft\Power BI Desktop\TempSaves\
e.g.
C:\Users\augustoproiete\AppData\Local\Microsoft\Power BI Desktop\TempSaves\
You should find files that look like this:
~$Untitled (Recovered 06d01d5075934de452284d38bd96ddf6bad.pbix
It was hidden for me too. I did a search on my computer for all .pbix files and the search discovered it. I then opened file location and found it. But I could not navigate directly to the location of the backups using Windows 10.
C:\Users\<username>\Microsoft\Power BI Desktop Store App\TempSaves
This is the location of the .pbix auto saved files.
C:\Users\<username>\Microsoft\Power BI Desktop Store App\AutoRecovery
This is the location of any Auto Recovered .pbix files if Power Bi crashes.