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
coreyw
Helper I
Helper I

Power BI Desktop - does it cache OData V4 metadata?

Hi There.

 

I'm using Power BI against an OData V4 source I'm currently developing so the data source metadata is changing regularly. I've noticed that I've been bitten a few times by Power BI 'remembering' property names that no longer exist.

 

When I look at the data source metadata via a browser against the OData service itself, I see all the proper properties and navigation properties. But in Power BI, when I specify the same OData service resource (via 'Get Data'), pick an entity, when it goes into Power BI query editor it's referencing 'old' properties that no longer exist - hence Power BI blows up.

 

So it looks like the old metadata is being held on somehow. Is there anyway to reset what appears to be cached metadata?

Thanks!

1 ACCEPTED SOLUTION
JvdW
Advocate I
Advocate I

I've been struggling with this issue for a few hours trying to consume Dynamics NAV 2016 objects on a local instance. It looks like Power BI does cache data for OData feeds. The following worked for me:

 

1. In Power BI desktop: specify the same OData URL via "Get Data". When the query editor is opened go to "Start" in the ribbon. Click "Refresh Preview". After this PowerBI should refresh the OData feed and remove old data or add new data.

 

2. In Power BI desktop: go to "File"  in the ribbon. Open "Options". Under "Data Load" you have the option to clear cache. When you specifiy the same OData URL after doing this, the OData feed should return the correct data.

 

Quite simple but it worked for me!

View solution in original post

3 REPLIES 3
JvdW
Advocate I
Advocate I

I've been struggling with this issue for a few hours trying to consume Dynamics NAV 2016 objects on a local instance. It looks like Power BI does cache data for OData feeds. The following worked for me:

 

1. In Power BI desktop: specify the same OData URL via "Get Data". When the query editor is opened go to "Start" in the ribbon. Click "Refresh Preview". After this PowerBI should refresh the OData feed and remove old data or add new data.

 

2. In Power BI desktop: go to "File"  in the ribbon. Open "Options". Under "Data Load" you have the option to clear cache. When you specifiy the same OData URL after doing this, the OData feed should return the correct data.

 

Quite simple but it worked for me!

Hi,

 

This doesn't seem to work anymore. Anyone figured out a different way to refresh data structure from OData feed?

 

🙂

This doesn't seem to work anymore, tried it many times.

 

Anyone's got better idea, because I'm stuck 🙂

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.