Using Machine Learning to Generate a User Interface
What if you could turn drawings into a website in the blink of an eye?
Finally, we have our infrastructure up and running and we can start visualizing it with Power BI.
Just login to your Power BI account:
Select My Workspace and click Datasets + dataflows. Click the three dots from your dataset and choose Create Report.
Let’s create line charts for temperature, humidity and air pressure. Each of them on a separate page. I’ll show how to configure the temperature first.
Go to Visualizations pane and choose Line chart:
Stretch the chart to fill your page and go under Fields and expand your table. Drag ‘EventEnqueuedUtcTime’ to Axis and ‘temperature’ to Values:
You should already see the graph of your temperature. You can rename Axis and Values to a more friendly name like Time and Temperature (Celsius). Change the color of your graph etc..
Add filter just next to the graph to show data from the past 7 days:
The end result should be something like this:
Mine has been customised for Finnish language. It also has an average temperature line. Just for demo purpose, I placed my RuuviTag outside, so there are some changes for temperature (If you wonder why my floor temperature is 7 degrees at night..) You can add the humidity and the air pressure with the same method to the same page or you can create own separate pages for them. To make it more clear, I have separate pages for each of them:
I also added one page for minimum, maximum and average values:
So go ahead and customize however you like and leave a comment if you have good suggestions for customization. Remember to save your report from File and Save. If you want to share it, you have an option to publish it to anyone with Publish to web.
After this, you can scale up your environment by adding more RuuviTags. This is the end of this series, thanks for reading and let me know if you have any questions!
This blog text is originally published in Senior Cloud Architect Sami Lahti’s personal Tech Life blog.
Let’s discuss how we can help with your cloud journey. Our experts are standing by to talk about your migration, modernisation, development and skills challenges.