<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Current temperature from Azure stream in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Current-temperature-from-Azure-stream/m-p/523929#M16144</link>
    <description>&lt;P&gt;I need to display current (last reading) from a connected temperature sensor. Data from the sensor is sent to Azure IoT Hub once every minute. Stream Analytics job outputs it into Power BI sink. This is JSON data the sensor sends:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;{
    "temp": "22.88",
    "name": "POC",
    "id": "232053ab5ba5ceee",
    "time": "2018-09-23 07:09:06",
    "agentid": "ZRQOfcbeFBHk"
}&lt;/PRE&gt;&lt;SPAN&gt;That's what PowerBI receives:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;[
    {
        "temp": "AAAAA555555",
        "name": "AAAAA555555",
        "id": "AAAAA555555",
        "time": "AAAAA555555",
        "agentid": "AAAAA555555",
        "EventProcessedUtcTime": "2018-09-23T07:22:56.643Z",
        "PartitionId": 98.6,
        "EventEnqueuedUtcTime": "2018-09-23T07:22:56.643Z",
        "IoTHub": "AAAAA555555"
    }
]&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;What is PartitionId and how do&amp;nbsp;I display just the latest reading (current temperature) only?&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 588px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/121536i207794F81D1E06A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 24 Sep 2018 10:10:53 GMT</pubDate>
    <dc:creator>AlexZhidkov</dc:creator>
    <dc:date>2018-09-24T10:10:53Z</dc:date>
    <item>
      <title>Current temperature from Azure stream</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Current-temperature-from-Azure-stream/m-p/523929#M16144</link>
      <description>&lt;P&gt;I need to display current (last reading) from a connected temperature sensor. Data from the sensor is sent to Azure IoT Hub once every minute. Stream Analytics job outputs it into Power BI sink. This is JSON data the sensor sends:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;{
    "temp": "22.88",
    "name": "POC",
    "id": "232053ab5ba5ceee",
    "time": "2018-09-23 07:09:06",
    "agentid": "ZRQOfcbeFBHk"
}&lt;/PRE&gt;&lt;SPAN&gt;That's what PowerBI receives:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;[
    {
        "temp": "AAAAA555555",
        "name": "AAAAA555555",
        "id": "AAAAA555555",
        "time": "AAAAA555555",
        "agentid": "AAAAA555555",
        "EventProcessedUtcTime": "2018-09-23T07:22:56.643Z",
        "PartitionId": 98.6,
        "EventEnqueuedUtcTime": "2018-09-23T07:22:56.643Z",
        "IoTHub": "AAAAA555555"
    }
]&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;What is PartitionId and how do&amp;nbsp;I display just the latest reading (current temperature) only?&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 588px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/121536i207794F81D1E06A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Sep 2018 10:10:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Current-temperature-from-Azure-stream/m-p/523929#M16144</guid>
      <dc:creator>AlexZhidkov</dc:creator>
      <dc:date>2018-09-24T10:10:53Z</dc:date>
    </item>
  </channel>
</rss>

