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
Sharksguts
Frequent Visitor

Refreshing data from gov.uk

I am trying to setup a Power BI dashboard to link to milk price data here https://www.gov.uk/government/statistics/uk-milk-prices-and-composition-of-milk

 

I am downloading the the ods file and opening it within power bi by reading it as an excel file as I tried using the web source and got the following error.

 

DataFormat.Error: External table is not in the expected format.
Details:
9018bd50-02db-4f50-bb09-7d98bda3b6b3.XLS

 

Even if I got the ods file to read straight from the web the link on the .gov.uk looks to be date related so will change each month.

 

What I am trying to setup is a method that will update the data with no manual intervention required.

 

Any suggestion greatly appreciated.

 

Regards


Richard

3 REPLIES 3
v-xjiin-msft
Solution Sage
Solution Sage

Hi @Sharksguts,

 

I have checked the milk price data from your shared link. In the ods file, there exists some useless data like the Title or Updated on or Contact etc. These data will affect the format of your excel file and cause the error. To resolve the error, I think you have to remove these data manually.

 

And generally if we want to update data automatically, we'll use scheduled refresh. Please refer to following article:

Configuring scheduled refresh

 

Thanks,
Xi Jin.

rakeshb
Frequent Visitor

Are there any data manipulations in the dashboard building?

If I understand your question directly yes I manipulate the data slightly by promoting to headers and changing a column name and format.

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.