A simple example to show how one can use Power BI REST API to create Real-Time Dashboard both using API directly or via Azure Event Hub and Azure Stream Analytics.
This version has also been used at the SQL Saturday #460 in Ljubljana, Slovenia, on December 2015. Here you can find the accompanying slide deck:
http://www.slideshare.net/davidemauri/real-time-power-bi
In order to use it you must have a valid Power BI and Azure accounts. Instructions on how to setup the environment can be found in the aforementioned slide deck.