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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
KasperJ90
Helper III
Helper III

Update data from Navision everytime PowerBi opens

Hi


I have made a report from two tables in our Navision system. The tables are linked in PowerBI Desktop via Odata. I have shared this workcenter with some colleges, but when they open the report in PowerBi the data is not updated. Even when they press "refresh" is still does not update. We change the data daily, so I would need the report to be updated when opened and when it is "refreshed". How can I do that?

8 REPLIES 8
v-shex-msft
Community Support
Community Support

Hi @KasperJ90,
I checked the document but not found anyone methods to enable direct query mode on odata connector. 

Perhaps you can try to design a custom data connector to handle odata source and enabled directquery on it.
Below is a link of using odbc customer connector with directquery mode:

Enabling direct query for a data source via an odbc driver 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
lbendlin
Super User
Super User

You can only do that if your data source supports direct query mode or live connection mode. 

If your data source only supports import mode then you need to increase the dataset refresh schedule, or use API based refresh that can be controlled by updates in your data source.

Thank you for your response.
How do I know if my data source supports direct query mode? I have linked PowerBi Desktop to 2 public queries in Navision and made my report with data from these two queries.

 

How can I get it to update everytime someone open their report or refresh it?

can you show the sanitized Power Query code for how you connect to Navision?

I be happy to do it, but how do I do it?

Right click on the query, Advanced Editor, then copy the Power Query M code and paste it here.  Make sure to mask sensitive data.

Here:

 

    Source = OData.Feed("http://yyyy.yyyy.local:7048/TRIMIT/OData/Company(yyyy)", null, [Implementation="2.0"]),

    PCO_List = Source[PCO_List],

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors