<?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: Using API to Update SemanticModel - but 'Refreshed' Timestamp doesn't update in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Using-API-to-Update-SemanticModel-but-Refreshed-Timestamp-doesn/m-p/4377066#M59155</link>
    <description>&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&lt;SPAN&gt;Hi,&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/626634"&gt;@ddelapasse&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&lt;SPAN&gt;1.&lt;/SPAN&gt;&lt;SPAN&gt;Firstly, I understand that you are currently using a semantic model with DirectQuery storage mode and updating the model via an API&lt;/SPAN&gt;&lt;SPAN&gt;——&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/refreshes&lt;/LI-CODE&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;" lang="zh-CN"&gt;However, typically, the refresh API does not support refreshing DirectQuery storage mode, which would result in an error as shown below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_0-1737614117117.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1229846i12ED0889A06EF7D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_0-1737614117117.png" alt="vlinyulumsft_0-1737614117117.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;" lang="zh-CN"&gt;Only semantic models using Import storage mode can trigger a refresh successfully.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_1-1737614117118.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1229845iF7B4CDC9D34F503B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_1-1737614117118.png" alt="vlinyulumsft_1-1737614117118.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Therefore, I am curious about which API you are using. Could you please specify which API you are referring to?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial;"&gt;&lt;SPAN&gt;2.&lt;/SPAN&gt;&lt;SPAN&gt;Secondly, based on your description, does "The webapp's 'schema'" refer to the layout of visual objects and filters in the report? In our definition, a schema does exist, as shown in the official documentation screenshot below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_2-1737614128969.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1229847iA8FA51606A0D4AB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_2-1737614128969.png" alt="vlinyulumsft_2-1737614128969.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;However, a normal schema refresh is not supported on the service unless you are using Push storage mode refresh, which contradicts your mention of DirectQuery storage mode. Here is a screenshot from the official documentation:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_3-1737614128970.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1229848iBDEF1218419BE646/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_3-1737614128970.png" alt="vlinyulumsft_3-1737614128970.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial;"&gt;&lt;SPAN&gt;3.&lt;/SPAN&gt;&lt;SPAN&gt;Therefore, my initial assumption is that your refresh might only involve refreshing the visual objects in the report. Here is a screenshot from the official documentation:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_4-1737614143401.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1229853i70C7B583FAF0D592/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_4-1737614143401.png" alt="vlinyulumsft_4-1737614143401.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;This also explains why the refresh timestamp is not updating, as the normal refresh history only records the times involving data refresh. Here is a relevant documentation screenshot:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_5-1737614143402.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1229852iF6099CA09587D4E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_5-1737614143402.png" alt="vlinyulumsft_5-1737614143402.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&lt;SPAN&gt;For further details, please refer to:&lt;BR /&gt;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/refresh-data" target="_blank"&gt;&lt;SPAN&gt;Data refresh in Power BI - Power BI | Microsoft Learn&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;Of course, this is just my assumption. If I have misunderstood your requirements, please clarify which API you are using for the update and what exactly you mean by "The webapp's 'schema'". I look forward to your response.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Leroy Lu&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider Accept it &lt;EM&gt;&lt;STRONG&gt;as the solution&lt;/STRONG&gt; &lt;/EM&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;" lang="zh-CN"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2025 06:36:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-01-23T06:36:34Z</dc:date>
    <item>
      <title>Using API to Update SemanticModel - but 'Refreshed' Timestamp doesn't update</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-API-to-Update-SemanticModel-but-Refreshed-Timestamp-doesn/m-p/4375885#M59148</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm working on a webapp that will host an embedded PBI.&amp;nbsp; The webapp's "schema" can be changed by the users and if that happens I am using the Fabric api to push an update to the Semantic Model.&amp;nbsp; This works FINE but it's really annoying that I cannot confirm the update by looking in PowerBI here.&amp;nbsp; Is there any other way that I could see the actual timestamp of the model?&amp;nbsp; I don't know what this Refreshed means in this context - we only use DirectQueries.&amp;nbsp; Appreciate any help you guys can offer!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ddelapasse_0-1737555894720.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1229510iBC582B830B42ADE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ddelapasse_0-1737555894720.png" alt="ddelapasse_0-1737555894720.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 14:27:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-API-to-Update-SemanticModel-but-Refreshed-Timestamp-doesn/m-p/4375885#M59148</guid>
      <dc:creator>ddelapasse</dc:creator>
      <dc:date>2025-01-22T14:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using API to Update SemanticModel - but 'Refreshed' Timestamp doesn't update</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-API-to-Update-SemanticModel-but-Refreshed-Timestamp-doesn/m-p/4377066#M59155</link>
      <description>&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&lt;SPAN&gt;Hi,&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/626634"&gt;@ddelapasse&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&lt;SPAN&gt;1.&lt;/SPAN&gt;&lt;SPAN&gt;Firstly, I understand that you are currently using a semantic model with DirectQuery storage mode and updating the model via an API&lt;/SPAN&gt;&lt;SPAN&gt;——&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/refreshes&lt;/LI-CODE&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;" lang="zh-CN"&gt;However, typically, the refresh API does not support refreshing DirectQuery storage mode, which would result in an error as shown below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_0-1737614117117.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1229846i12ED0889A06EF7D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_0-1737614117117.png" alt="vlinyulumsft_0-1737614117117.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;" lang="zh-CN"&gt;Only semantic models using Import storage mode can trigger a refresh successfully.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_1-1737614117118.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1229845iF7B4CDC9D34F503B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_1-1737614117118.png" alt="vlinyulumsft_1-1737614117118.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Therefore, I am curious about which API you are using. Could you please specify which API you are referring to?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial;"&gt;&lt;SPAN&gt;2.&lt;/SPAN&gt;&lt;SPAN&gt;Secondly, based on your description, does "The webapp's 'schema'" refer to the layout of visual objects and filters in the report? In our definition, a schema does exist, as shown in the official documentation screenshot below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_2-1737614128969.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1229847iA8FA51606A0D4AB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_2-1737614128969.png" alt="vlinyulumsft_2-1737614128969.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;However, a normal schema refresh is not supported on the service unless you are using Push storage mode refresh, which contradicts your mention of DirectQuery storage mode. Here is a screenshot from the official documentation:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_3-1737614128970.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1229848iBDEF1218419BE646/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_3-1737614128970.png" alt="vlinyulumsft_3-1737614128970.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial;"&gt;&lt;SPAN&gt;3.&lt;/SPAN&gt;&lt;SPAN&gt;Therefore, my initial assumption is that your refresh might only involve refreshing the visual objects in the report. Here is a screenshot from the official documentation:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_4-1737614143401.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1229853i70C7B583FAF0D592/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_4-1737614143401.png" alt="vlinyulumsft_4-1737614143401.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;This also explains why the refresh timestamp is not updating, as the normal refresh history only records the times involving data refresh. Here is a relevant documentation screenshot:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vlinyulumsft_5-1737614143402.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1229852iF6099CA09587D4E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vlinyulumsft_5-1737614143402.png" alt="vlinyulumsft_5-1737614143402.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in;"&gt;&lt;SPAN&gt;For further details, please refer to:&lt;BR /&gt;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/refresh-data" target="_blank"&gt;&lt;SPAN&gt;Data refresh in Power BI - Power BI | Microsoft Learn&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;Of course, this is just my assumption. If I have misunderstood your requirements, please clarify which API you are using for the update and what exactly you mean by "The webapp's 'schema'". I look forward to your response.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;" lang="zh-CN"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Leroy Lu&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider Accept it &lt;EM&gt;&lt;STRONG&gt;as the solution&lt;/STRONG&gt; &lt;/EM&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 11.0pt;" lang="zh-CN"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 06:36:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-API-to-Update-SemanticModel-but-Refreshed-Timestamp-doesn/m-p/4377066#M59155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-23T06:36:34Z</dc:date>
    </item>
  </channel>
</rss>

