Forum Discussion
sengyap
9 years agoHelper I
Streaming Data using API
I am using a FlightStats API to collect some data on flight status. I have created a API using this https://api.flightstats.com/flex/flightstatus/{protocol}/v2/{format}/flight/status/{...} The p...
v-ljerr-msft
9 years agoMicrosoft Employee
Hi sengyap,
- Go to app.powerbi.com
- Go to streaming data management page by via new dashboard > Add tile > Custom Streaming Data > manage data
- Click "Add streaming dataset"
- Select API, then Next, and give your streaming dataset a name
- Add a field with name "ts", type DateTime
- Add a field with name "value", type Number
- Click "Create"
- Copy the "push URL" at the top of the page
- Copy the sample app locally, and in Program.cs, paste url copied in step 8 as the value of "realTimePushURL"
- Run the sample app
- With the sample app running, go to the dashboard, and create a real-time tile with with the data provided by the sample app
Yes, you need to run the sample app with your Visual Studio locally by selecting "PBIRealTimeStreaming.sln" in "PowerBI-CSharp-master\samples\consoleapp\getting-started-for-dotnet-real-time\PBIRealTimeStreaming" folder.:smileyhappy:
Regards
prateekraina
8 years agoMemorable Member
Hi v-ljerr-msft,
I was reading this post as i was searching for a sample app which uses Power BI Rest APIs to push data into datasets. However all the links here in this post are expired. Can you kindly redirect me to these sample applications.
If in case you are also not able to find, will it be possible for you to share with me that sample application which you guys used to send data to Power BI streaming dataset?
Thanks
Prateek Raina