<?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 Re: Refresh Report Content using API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Report-Content-using-API/m-p/456153#M14038</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/28904"&gt;@v-jiascu-msft&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for taking the time to help me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dataset I am using is a streaming dataset, and it works perfectly on the Dashboard page, however, I have also created a small report page based on the same dataset. the result I am looking for is to have the data in the report page update/refresh itself without the user having to click on the refresh button in the top menu of the report page. The reason for this is that the report page will be displayed on a TV in a call center, and they would like to see the report update as they are working in order to track their real-time&amp;nbsp;performance instead of someone standing up and walking to the TV to click the refresh button.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jul 2018 06:13:26 GMT</pubDate>
    <dc:creator>MarkCBB</dc:creator>
    <dc:date>2018-07-06T06:13:26Z</dc:date>
    <item>
      <title>Refresh Report Content using API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Report-Content-using-API/m-p/455412#M14010</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am brand new to using the API, I also have a limited understanding about API's in general.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a simple VBA (Excel) code that pushes data into a streaming dataset using the API.&lt;/P&gt;&lt;P&gt;I have now created a simple Report that is linked to that dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the above works fine. I would like like to trigger a refresh of the content on the Report page instead of clicking the button "Refresh", is this possible?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Function RefreshPowerBIReportPage()
Dim objHTTP As Object
Dim JsonDt As String
Dim sReportKey As String
Dim sGroupKey As String

sReportKey = ""
sGroupKey = ""

Set objHTTP = CreateObject("WinHttp.WinHttpRequest.5.1")

URL = "https://api.powerbi.com/beta/myorg/groups/" &amp;amp; sGroupKey &amp;amp; "/reports/" &amp;amp; sReportKey &amp;amp; "/UpdateReportContent"

objHTTP.Open "POST", URL, False
objHTTP.setRequestHeader "User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
objHTTP.setRequestHeader "Content-type", "application/x-www-form-urlencoded"
objHTTP.send


End Function&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Jul 2018 09:51:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-Report-Content-using-API/m-p/455412#M14010</guid>
      <dc:creator>MarkCBB</dc:creator>
      <dc:date>2018-07-05T09:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Report Content using API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Report-Content-using-API/m-p/456108#M14034</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/6981"&gt;@MarkCBB&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since it's a push dataset, the "Refresh" could be different from other general dataset. As far as I know, we need to push the new data through APIs, which acts like "Refresh". So what's the result you expect?&lt;/P&gt;
&lt;P&gt;Reference:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/pushdatasets" target="_self"&gt;rest/api/power-bi/pushdatasets&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/service-real-time-streaming#using-the-streaming-dataset-ui-to-push-data" target="_self"&gt;service-real-time-streaming#using-the-streaming-dataset-ui-to-push-data&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Dale&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 05:40:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-Report-Content-using-API/m-p/456108#M14034</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-07-06T05:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Report Content using API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Report-Content-using-API/m-p/456153#M14038</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/28904"&gt;@v-jiascu-msft&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for taking the time to help me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dataset I am using is a streaming dataset, and it works perfectly on the Dashboard page, however, I have also created a small report page based on the same dataset. the result I am looking for is to have the data in the report page update/refresh itself without the user having to click on the refresh button in the top menu of the report page. The reason for this is that the report page will be displayed on a TV in a call center, and they would like to see the report update as they are working in order to track their real-time&amp;nbsp;performance instead of someone standing up and walking to the TV to click the refresh button.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 06:13:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-Report-Content-using-API/m-p/456153#M14038</guid>
      <dc:creator>MarkCBB</dc:creator>
      <dc:date>2018-07-06T06:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Report Content using API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Report-Content-using-API/m-p/456202#M14041</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/6981"&gt;@MarkCBB&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It should be a dashboard that shows these results in your scenario. Because that's what the dashboard does. I would suggest you vote up &lt;A href="https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/17217485-refresh-report-in-tv-mode" target="_self"&gt;this idea&lt;/A&gt;. There is a rough workaround. Refresh the whole browser tab in a fixed interval.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Dale&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 07:01:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-Report-Content-using-API/m-p/456202#M14041</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-07-06T07:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Report Content using API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Report-Content-using-API/m-p/456217#M14045</link>
      <description>&lt;P&gt;Voted, thank you for your time Dale.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 07:12:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-Report-Content-using-API/m-p/456217#M14045</guid>
      <dc:creator>MarkCBB</dc:creator>
      <dc:date>2018-07-06T07:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Report Content using API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Report-Content-using-API/m-p/456228#M14046</link>
      <description>&lt;P&gt;ahhhh, I see, so I can create a visual in the report and pin that to a dashboard and that visual will update just like the visuals that were created in the dashboard. haha, awesome. thank you&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 07:16:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-Report-Content-using-API/m-p/456228#M14046</guid>
      <dc:creator>MarkCBB</dc:creator>
      <dc:date>2018-07-06T07:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Report Content using API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Report-Content-using-API/m-p/456235#M14047</link>
      <description>&lt;P&gt;You are totally right. Glad you solved it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Dale&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 07:22:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-Report-Content-using-API/m-p/456235#M14047</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-07-06T07:22:32Z</dc:date>
    </item>
  </channel>
</rss>

