Forum Discussion

Manal's avatar
Manal
Regular Visitor
10 years ago

Pull Data into Power BI

Hi,

 

I have managed to code java methods that allow getting data from an external app and pushing it into power bi. The first idea was to push data from the app which is now implemented. However, now I want to do that from Power BI. 

 

Is there a way I can pull data into powerBI from my app? Also I want to know if it's possible to update Power BI filters from an external data source.

 

Thank you :)

6 Replies

  • ankitpatira's avatar
    ankitpatira
    Community Champion

    Manal

    I am not sure about external data source but you can use powerbi URL to set filters. For example https://app.powerbi.com/groups/me/reports/99999999-3498-3a81-acdc-1386adfo8901b?filter=MyDataset/Gender eq 'F'

    Where '99999999-3498-3a81-acdc-1386adfo8901b' is my report I'd, 'MyDataset' is my dataset, 'Gender' is filter and is equal to 'F'.


    You can use power bi rest api calls to push data live from your application. Here is documentation on rest api.

    • Manal's avatar
      Manal
      Regular Visitor

      I have an hybrid data source that I get data from using SOAP calls. The java code pulls data from my app then pushes it into power BI using the REST API.

       

      What I want to do is when I hit "Refresh" in the PBI Dashboard, execute my java code and get the new data without having to do it from my app. 

       

      Now I'm sending the data from my app but it would be better if I can call the data from PBI.

      Is there a curl command that enables this call?

      • v-qiuyu-msft's avatar
        v-qiuyu-msft
        Community Support

        Hi Manal,

         

        A hybrid database is not available in Power BI data source list. In your scenario, the better way is to get data via rest API. When refresh the dashboard, it's unavoidable to execute the code again to get data from hybrid.

         

        Best regards,
        Qiuyun Yu

  • Anonymous's avatar
    Anonymous
    Not applicable

    It's difficult to advise without knowing anything about the source you want to pull from. Is it stored in any sort of database, or perhaps in a data file (text, csv, etc)?