Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I have table storage as data source. Data is IoT data and every 10 seconds I get new row with timestamp.
I can succesfully connect with Power BI Desktop. I have changed data type as Date/Time. Column name is Timestamp and values is in format of "10/12/2016 13:08:30". Another column is temperature in decimal format like "23.0".
Now how to make line chart where I can see how temperature get changing over time? I would like to see by latest 24 hour?
I understand and Timestamp is Axis and Temperature is Value, but I get values for every 10 seconds. I would like to show by 1 hour and I like to get displayed only last 24 hour.
Solved! Go to Solution.
@Anonymous
In this scenario, since yout timestamps are continuous,you can directly put the timestamps on X-axis and select the Type into "Categorical".
To group your data on Hour, you need to add columns like "Date Hour", "Date". Then build a hierarchy like "Date->Date Hour->Date Time" and put the hierarchy into the chart.
Regards,
Simon Hou
@Anonymous
In this scenario, since yout timestamps are continuous,you can directly put the timestamps on X-axis and select the Type into "Categorical".
To group your data on Hour, you need to add columns like "Date Hour", "Date". Then build a hierarchy like "Date->Date Hour->Date Time" and put the hierarchy into the chart.
Regards,
Simon Hou
I am thinking that you could use Grouping for this possibly? Perhaps a calculated column that is the number of hours in the past (0, 1, 2, 3) and group on that?
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
65 |
User | Count |
---|---|
136 | |
117 | |
101 | |
71 | |
61 |