<?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 Is there an API for refresh data immediately ? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Is-there-an-API-for-refresh-data-immediately/m-p/665263#M19044</link>
    <description>&lt;P&gt;I have created a custom visual which data source is an Azure SQL.&lt;/P&gt;&lt;P&gt;The custom visual includes a HTML form and users can post data to the SQL database via the webapp.&lt;/P&gt;&lt;P&gt;It works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, I want to refresh the custom visual as soon as user's action.&lt;/P&gt;&lt;P&gt;Is there a way to refresh the custom visual programmatically ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok, I know the referesh button are on the screen above, but I want to do it programmatically.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Selection_317.png" style="width: 211px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/157634i82ADDD1B8F96C820/image-size/large?v=v2&amp;amp;px=999" role="button" title="Selection_317.png" alt="Selection_317.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2019 10:13:36 GMT</pubDate>
    <dc:creator>ziyi</dc:creator>
    <dc:date>2019-04-09T10:13:36Z</dc:date>
    <item>
      <title>Is there an API for refresh data immediately ?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Is-there-an-API-for-refresh-data-immediately/m-p/665263#M19044</link>
      <description>&lt;P&gt;I have created a custom visual which data source is an Azure SQL.&lt;/P&gt;&lt;P&gt;The custom visual includes a HTML form and users can post data to the SQL database via the webapp.&lt;/P&gt;&lt;P&gt;It works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, I want to refresh the custom visual as soon as user's action.&lt;/P&gt;&lt;P&gt;Is there a way to refresh the custom visual programmatically ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok, I know the referesh button are on the screen above, but I want to do it programmatically.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Selection_317.png" style="width: 211px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/157634i82ADDD1B8F96C820/image-size/large?v=v2&amp;amp;px=999" role="button" title="Selection_317.png" alt="Selection_317.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 10:13:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Is-there-an-API-for-refresh-data-immediately/m-p/665263#M19044</guid>
      <dc:creator>ziyi</dc:creator>
      <dc:date>2019-04-09T10:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an API for refresh data immediately ?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Is-there-an-API-for-refresh-data-immediately/m-p/665320#M19046</link>
      <description>&lt;P&gt;Create an onload event to call the data refresh API? this is just a thought.&amp;nbsp;&amp;nbsp;&lt;A href="https://powerbi.microsoft.com/sv-se/blog/announcing-data-refresh-apis-in-the-power-bi-service/" target="_blank"&gt;https://powerbi.microsoft.com/sv-se/blog/announcing-data-refresh-apis-in-the-power-bi-service/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 11:30:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Is-there-an-API-for-refresh-data-immediately/m-p/665320#M19046</guid>
      <dc:creator>sananthv</dc:creator>
      <dc:date>2019-04-09T11:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an API for refresh data immediately ?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Is-there-an-API-for-refresh-data-immediately/m-p/665865#M19053</link>
      <description>&lt;P&gt;Thank you sananthv !!&lt;/P&gt;&lt;P&gt;I will try implement it. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 00:14:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Is-there-an-API-for-refresh-data-immediately/m-p/665865#M19053</guid>
      <dc:creator>ziyi</dc:creator>
      <dc:date>2019-04-10T00:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an API for refresh data immediately ?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Is-there-an-API-for-refresh-data-immediately/m-p/717953#M19693</link>
      <description>&lt;P&gt;As other user mentioned Power BI offer REST API to trigger manual refresh. If you use ETL tool like SSIS you can call API using this approach.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://zappysys.com/blog/refresh-power-bi-dataset-via-rest-api-using-ssis/" target="_blank"&gt;https://zappysys.com/blog/refresh-power-bi-dataset-via-rest-api-using-ssis/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you dont use ETL Tool and want to call API from SQL Server (T-SQL) then may be use appraoch documented here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://zappysys.com/blog/import-rest-api-json-sql-server/" target="_blank"&gt;https://zappysys.com/blog/import-rest-api-json-sql-server/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Keep in mind there is a limit on how many times you can cll Refresh API in one day. So dont call it too many times unless needed.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 15:52:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Is-there-an-API-for-refresh-data-immediately/m-p/717953#M19693</guid>
      <dc:creator>ZappySys</dc:creator>
      <dc:date>2019-06-18T15:52:14Z</dc:date>
    </item>
  </channel>
</rss>

