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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
cgardyne
Helper I
Helper I

OneDrive file data refresh + Import + Sql Azure Database

Hi there,

I have a pbix file that has been created in Power Bi Desktop, stored in OneDrive and uses Import to get data from an Azure Sql Database.

We then import the pbix file into Power Bi Web as a data set and run our reports against the data.

The obvious problem is that when you use import its just a snapshot of the data.

How can I schedule/automate a refresh of the data so that the pbix file can pick it up? Other than the manual approach of opening the file in Desktop and refreshing the data, saving to OneDrive, wait for data to propagate to Web.

Any help would be appreciated.

Thanks.

1 ACCEPTED SOLUTION
v-qiuyu-msft
Community Support
Community Support

Hi @cgardyne,

 

According to your description, you create a report in desktop connect to Azure SQL database in Import mode, and store this report in OneDrive. Then you get the .PBIX  file in Power BI service from OneDrive, and you want to keep the data updated, right?

 

In your scenairo, you need to go to dataset, set the credential connects to Azure SQL database same as which used in .PBIX, then you can create a schedule refresh or OneDrive refresh to keep the dataset updated like below:

 

a1.PNG

 

Reference:
Refresh a dataset created from a Power BI Desktop file on OneDrive, or SharePoint Online

 

If you have any question, please feel free to ask.

 

Best Regards,
Qiuyun Yu

 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-qiuyu-msft
Community Support
Community Support

Hi @cgardyne,

 

According to your description, you create a report in desktop connect to Azure SQL database in Import mode, and store this report in OneDrive. Then you get the .PBIX  file in Power BI service from OneDrive, and you want to keep the data updated, right?

 

In your scenairo, you need to go to dataset, set the credential connects to Azure SQL database same as which used in .PBIX, then you can create a schedule refresh or OneDrive refresh to keep the dataset updated like below:

 

a1.PNG

 

Reference:
Refresh a dataset created from a Power BI Desktop file on OneDrive, or SharePoint Online

 

If you have any question, please feel free to ask.

 

Best Regards,
Qiuyun Yu

 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors