cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Manal Frequent Visitor
Frequent Visitor

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 6
KHorseman Super Contributor
Super Contributor

Re: Pull Data into Power BI

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)?


Did I answer your question? Please mark it as a solution.

Proud to be a Datanaut!
ankitpatira Super Contributor
Super Contributor

Re: Pull Data into Power BI

@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/Gen... 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 Frequent Visitor
Frequent Visitor

Re: Pull Data into Power BI

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?

Moderator v-qiuyu-msft
Moderator

Re: Pull Data into Power BI

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

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Manal Frequent Visitor
Frequent Visitor

Re: Pull Data into Power BI

Thakn you for your help.

 

Are you sure it's the dataset name that I have to pass not the table name (filter=...) ?

On more question, how do I encode the space between Gender_eq_'value' ? 

 

https://app.powerbi.com/groups/me/reports/99999999-3498-3a81-acdc-1386adfo8901b?filter=MyDataset/Gender eq 'F'

 

Thank you again.

 

Yasda08 Frequent Visitor
Frequent Visitor

Re: Pull Data into Power BI

Hi,

 

Does it mean that it is not possible to call an external web service and pull data into Power BI?

 

Is the only option is to push data into Power BI?

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Top Kudoed Authors
Users Online
Currently online: 251 members 2,696 guests
Please welcome our newest community members: