Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Grapefarmer
Frequent Visitor

MS fabric PBI report Scheduled Refresh Disabled- D365 BC

Hi All;

 

I have published a PBI report to fabric which draws data from two sources:

1) Microsoft Busincess Central (Microsoft login manages access to the API)

2) A Static CSV file on our network drive (It's a calendar reference file which doesnt really ever need to be updated)

 

When I try and refresh the semantic model, i get an error that a data source is missing credentials.

I suspect, but do not know that the problem is to do with the CSV file reference.

 

PBI indicates that i need to update credentials, but I cannot access this in fabric- it's greyed out.

I also can't find where to interrogate the credential settings for each individual table referenced in the PBI semantic model.

 

I'm looking into using a personal or server on-premise gateway which might work, but that requires various corporate approvals, and work with our IT provider which may take weeks.

Use a personal gateway in Power BI - Power BI | Microsoft Learn

 

Ideally, I want to be able to switch off refresh for the local static CSV files, and allow the rest of the Business central data to refresh independently.

 

Where in PBI / Fabric can I access the credential settings for each table?

 

See screenshot for the error encountered and symptoms.  

Grapefarmer_0-1731471262088.png

 

 

 

3 ACCEPTED SOLUTIONS
Joe_Barry
Super User
Super User

Hi @Grapefarmer 

 

This will happen with a local file service and you will need to setup a Gateway for this. Is the network drive connected to SharePoint? What you can do if it is.

 

  • You can open the file
  • go to file and you will see a list of recently opened files.
  • Right click on the name of the CSV you want to import into Power BI and click on copy path.
  • In Power BI Desktop go to Add Source
  • Then Web
  • Paste the URL in the field and ok.

The CSV will now load and you shouldn't have any issues with credentials after you publish, as your Microsoft credentials will be enough.

 

Hope this helps

Joe




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Learn about the Star Schema, it will solve many issues in Power BI!

Date tables help! Learn more



LinkedIn
Let's connect on LinkedIn


View solution in original post

v-cgao-msft
Community Support
Community Support

Hi @Grapefarmer ,

 

Consider uploading the csv to a cloud drive such as a Sharepoint folder, OneDrive etc. This will bypass the on-premises data gateway.

SharePoint and OneDrive for Business files import - Power Query | Microsoft Learn

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

Hi Gao;

This looks like a great solution, but there were a few steps to take to get it to eventually work!

Follow me on the journey!

 

Initially, when copying the onedrive sharing URL I get the following error:

 

Grapefarmer_0-1731891408673.png

This outcome was when following the advice on the link you provided.  (see screenshot below)

 

 

 

Grapefarmer_1-1731892674297.png

However, when copying the link directly from the excel desktop app, the onedrive hosted file loads successfully, so the source and format of the Onedrive file web link is obviously really important. 

Grapefarmer_0-1731898470721.png

 

The next step, after publishing the test report to the PBI / Fabric service was to Edit the credentials for the onedrive connection, and use OAUTH2 / Organisational privacy settings

 

I got some pointers off this useful blog - Dataonwheels. 

 

Power BI: Refreshable Excel Files in PBI Service – Data on Wheels – Kristyna Ferris & Steve Hughes

 

Grapefarmer_1-1731898494202.png

The change in credentials resulted in a successful refresh.

 

Grapefarmer_2-1731898510070.png

Note that the onedrive refresh notification doesn’t seem to change, and seems to remain static at the original publishing time & date, but this seems to be nothing to worry about. 

 

Grapefarmer_3-1731898526634.png

 

View solution in original post

5 REPLIES 5
Grapefarmer
Frequent Visitor

One thing that hasnt been answered here yet is how to *DISABLE* the refresh selectively on some PBI tables in a semantic model on the fabric service. Many static model reference files just don't need to be updated.

Also, if the file on onedrive being referenced by the model is deleted, or moved, for example, having the model spit the dummy and not refriesh anything just because it can't refresh one table out of 10 coudl be avoided. 

Hi @Grapefarmer ,

 

1. Excluding queries from refresh:

Managing query refresh -Excluding queries from refresh

2. Use dataflow to import the csv and then connect to dataflow. as long as you don't refresh/delete the dataflow, it won't affect the data refresh.

vcgaomsft_1-1731910034939.png

3. New a enter data table.

vcgaomsft_0-1731910008334.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

v-cgao-msft
Community Support
Community Support

Hi @Grapefarmer ,

 

Consider uploading the csv to a cloud drive such as a Sharepoint folder, OneDrive etc. This will bypass the on-premises data gateway.

SharePoint and OneDrive for Business files import - Power Query | Microsoft Learn

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Hi Gao;

This looks like a great solution, but there were a few steps to take to get it to eventually work!

Follow me on the journey!

 

Initially, when copying the onedrive sharing URL I get the following error:

 

Grapefarmer_0-1731891408673.png

This outcome was when following the advice on the link you provided.  (see screenshot below)

 

 

 

Grapefarmer_1-1731892674297.png

However, when copying the link directly from the excel desktop app, the onedrive hosted file loads successfully, so the source and format of the Onedrive file web link is obviously really important. 

Grapefarmer_0-1731898470721.png

 

The next step, after publishing the test report to the PBI / Fabric service was to Edit the credentials for the onedrive connection, and use OAUTH2 / Organisational privacy settings

 

I got some pointers off this useful blog - Dataonwheels. 

 

Power BI: Refreshable Excel Files in PBI Service – Data on Wheels – Kristyna Ferris & Steve Hughes

 

Grapefarmer_1-1731898494202.png

The change in credentials resulted in a successful refresh.

 

Grapefarmer_2-1731898510070.png

Note that the onedrive refresh notification doesn’t seem to change, and seems to remain static at the original publishing time & date, but this seems to be nothing to worry about. 

 

Grapefarmer_3-1731898526634.png

 

Joe_Barry
Super User
Super User

Hi @Grapefarmer 

 

This will happen with a local file service and you will need to setup a Gateway for this. Is the network drive connected to SharePoint? What you can do if it is.

 

  • You can open the file
  • go to file and you will see a list of recently opened files.
  • Right click on the name of the CSV you want to import into Power BI and click on copy path.
  • In Power BI Desktop go to Add Source
  • Then Web
  • Paste the URL in the field and ok.

The CSV will now load and you shouldn't have any issues with credentials after you publish, as your Microsoft credentials will be enough.

 

Hope this helps

Joe




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Learn about the Star Schema, it will solve many issues in Power BI!

Date tables help! Learn more



LinkedIn
Let's connect on LinkedIn


Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors