Forum Discussion

KasperJ90's avatar
KasperJ90
Helper III
5 years ago

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

  • 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.

    • KasperJ90's avatar
      KasperJ90
      Helper III

      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?

      • lbendlin's avatar
        lbendlin
        Super User

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

  • Anonymous's avatar
    Anonymous
    Not applicable

    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