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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
skipper
Frequent Visitor

Power Query in excel- stored in SharePoint online/One drive. Data wont refresh when its is closed.

I am having a problem having query data coming to Excel. It is API data flowing to Excel. Using power Query data is getting loaded to excel. 

I have to manually open the file to get this data refresh.

I have tried Refreshing it using Microsoft power Automate but it did not work.

i have tried schedule refresh in excel and it's not working.

How do I refresh data in excel without opening it?

This data gets updated to the Power BI dataset. Not using PQ for the dataset directly because I cannot hold historical data.

3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @skipper 

 

When you refresh the queries in Excel's Power Query, it will need to launch Microsoft Mashup Evaluation Container to execute the refresh operation. It is running within the Excel application. If you don't open the Excel file, the whole Excel application is not running thus it cannot launch the Mashup Evaluation Contianer to execute the refresh.

042806.jpg

 

If you want to hold the historical data in Excel workbooks, is it possible to export the data from API into Excel workbooks automatically rather than use Power Query in Excel to query the data? Then you can use Power Query in Power BI Desktop to connect to these Excel workbooks directly. 

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

"export the data from API into Excel workbooks automatically rather than use Power Query in Excel to query the data?"

how do I export data from API to excel without using Power Query?

amitchandak
Super User
Super User

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors