<?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: Power BI Embedded – DirectQuery visuals not loading in web app in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-DirectQuery-visuals-not-loading-in-web-app/m-p/4710191#M61456</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1282486"&gt;@yureed&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;There are certain limitations&amp;nbsp;apply when working with DirectQuery for Power BI semantic models.&lt;BR /&gt;&lt;EM&gt;‘Using Power BI Embedded with datasets that include a DirectQuery connection to a Power BI datasets or Azure Analysis Services model is not currently supported.’&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-composite-models#working-with-a-composite-model-based-on-a-semantic-model" target="_blank"&gt;https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-composite-models#working-with-a-composite-model-based-on-a-semantic-model&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But also since you are getting the error,&amp;nbsp;&amp;nbsp;&lt;STRONG data-start="2010" data-end="2067"&gt;"An error occurred due to an on-premise server issue"&lt;/STRONG&gt; hints that&lt;/P&gt;
&lt;P data-start="2082" data-end="2181"&gt;your SQL Server Import data source or one of the DirectQuery datasets might need a gateway.&lt;/P&gt;
&lt;P data-start="2184" data-end="2209"&gt;Make sure the gateway is:&lt;/P&gt;
&lt;P data-start="2214" data-end="2248"&gt;Installed and configured correctly, Authorized for the dataset and Mapped data sources correctly for DirectQuery sources.&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;If the response has addressed your query, please&amp;nbsp;&lt;STRONG&gt;accept it as a solution&lt;/STRONG&gt;&amp;nbsp;and give a&amp;nbsp;&lt;STRONG&gt;'Kudos'&lt;/STRONG&gt;&amp;nbsp;so other members can easily find it.&lt;BR /&gt;Thank You!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 28 May 2025 09:31:42 GMT</pubDate>
    <dc:creator>v-sdhruv</dc:creator>
    <dc:date>2025-05-28T09:31:42Z</dc:date>
    <item>
      <title>Power BI Embedded – DirectQuery visuals not loading in web app</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-DirectQuery-visuals-not-loading-in-web-app/m-p/4709233#M61445</link>
      <description>&lt;P&gt;So I have a Power BI report, which I have embedded onto a web app.&lt;/P&gt;&lt;P&gt;The report is built using a composite model: it includes 2 Import-mode datasets (created directly in Power BI Desktop, so one of them is an SQL server data and one is a GA4 Connector) and two DirectQuery semantic models that exist in the same workspace.&lt;/P&gt;&lt;P&gt;I generate an embed token using the &lt;A href="https://api.powerbi.com/v1.0/myorg/GenerateToken" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/GenerateToken&lt;/A&gt; endpoint and pass all three dataset IDs like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The two DirectQuery dataset IDs I found using the /datasets/{id}/datasources endpoint, since those semantic models are published in the workspace. However, I can't find the &lt;STRONG&gt;dataset IDs for the other models&lt;/STRONG&gt; (e.g. the Import dataset that was part of the original .pbix file), since they were created directly in Power BI Desktop and don't show up in the workspace datasets list via API. So I just used the composite model ID that I got when I ran the endpoint.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The visuals that are connected to the directquery dataset won't load. They just gave an error "Error fetching data for visual" or "An error occurred due to an on-premise server issue"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I mentioned, I tried changing the params to provide dataset ids, but I assume I am not doing that correctly. Is there any fix for this?&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 16:16:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-DirectQuery-visuals-not-loading-in-web-app/m-p/4709233#M61445</guid>
      <dc:creator>yureed</dc:creator>
      <dc:date>2025-05-27T16:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Embedded – DirectQuery visuals not loading in web app</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-DirectQuery-visuals-not-loading-in-web-app/m-p/4710191#M61456</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1282486"&gt;@yureed&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;There are certain limitations&amp;nbsp;apply when working with DirectQuery for Power BI semantic models.&lt;BR /&gt;&lt;EM&gt;‘Using Power BI Embedded with datasets that include a DirectQuery connection to a Power BI datasets or Azure Analysis Services model is not currently supported.’&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-composite-models#working-with-a-composite-model-based-on-a-semantic-model" target="_blank"&gt;https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-composite-models#working-with-a-composite-model-based-on-a-semantic-model&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But also since you are getting the error,&amp;nbsp;&amp;nbsp;&lt;STRONG data-start="2010" data-end="2067"&gt;"An error occurred due to an on-premise server issue"&lt;/STRONG&gt; hints that&lt;/P&gt;
&lt;P data-start="2082" data-end="2181"&gt;your SQL Server Import data source or one of the DirectQuery datasets might need a gateway.&lt;/P&gt;
&lt;P data-start="2184" data-end="2209"&gt;Make sure the gateway is:&lt;/P&gt;
&lt;P data-start="2214" data-end="2248"&gt;Installed and configured correctly, Authorized for the dataset and Mapped data sources correctly for DirectQuery sources.&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;If the response has addressed your query, please&amp;nbsp;&lt;STRONG&gt;accept it as a solution&lt;/STRONG&gt;&amp;nbsp;and give a&amp;nbsp;&lt;STRONG&gt;'Kudos'&lt;/STRONG&gt;&amp;nbsp;so other members can easily find it.&lt;BR /&gt;Thank You!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 09:31:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-DirectQuery-visuals-not-loading-in-web-app/m-p/4710191#M61456</guid>
      <dc:creator>v-sdhruv</dc:creator>
      <dc:date>2025-05-28T09:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Embedded – DirectQuery visuals not loading in web app</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-DirectQuery-visuals-not-loading-in-web-app/m-p/4713571#M61517</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1282486"&gt;@yureed&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;Just wanted to check if you had the opportunity to review the suggestions provided?&lt;BR /&gt;If the response has addressed your query, please&amp;nbsp;&lt;STRONG&gt;Accept it as a solution&lt;/STRONG&gt;&amp;nbsp;and give a&amp;nbsp;&lt;STRONG&gt;'Kudos'&lt;/STRONG&gt;&amp;nbsp;so other members can easily find it.&lt;BR /&gt;Thank You&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 08:01:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-DirectQuery-visuals-not-loading-in-web-app/m-p/4713571#M61517</guid>
      <dc:creator>v-sdhruv</dc:creator>
      <dc:date>2025-05-30T08:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Embedded – DirectQuery visuals not loading in web app</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-DirectQuery-visuals-not-loading-in-web-app/m-p/4714435#M61533</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thank you for the response. So the same error did occur in the workspace, but I fixed by refreshing the credentials/signing in again basically. As for the gateway, my SQL Server import data source has been configured correctly as I am able to access the report in the workspace.&lt;/P&gt;&lt;P&gt;I assume your first suggestion regarding the limitation might be the issue at hand here.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 15:31:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-DirectQuery-visuals-not-loading-in-web-app/m-p/4714435#M61533</guid>
      <dc:creator>yureed</dc:creator>
      <dc:date>2025-05-30T15:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Embedded – DirectQuery visuals not loading in web app</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-DirectQuery-visuals-not-loading-in-web-app/m-p/4715995#M61555</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1282486"&gt;@yureed&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Good to know your issue was resolved and you were able to fix it by signing in again.&lt;BR /&gt;Can you please mark your answer as &lt;STRONG&gt;"Accept as Solution" &lt;/STRONG&gt;so that other users can benefit from it?&lt;BR /&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 05:21:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-DirectQuery-visuals-not-loading-in-web-app/m-p/4715995#M61555</guid>
      <dc:creator>v-sdhruv</dc:creator>
      <dc:date>2025-06-02T05:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Embedded – DirectQuery visuals not loading in web app</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-DirectQuery-visuals-not-loading-in-web-app/m-p/4720861#M61628</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1282486" target="_blank"&gt;@yureed&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Good to know your issue was resolved and you were able to fix it by signing in again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please mark your answer as&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"Accept as Solution"&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;so that other users can benefit from it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank You&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:53:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-DirectQuery-visuals-not-loading-in-web-app/m-p/4720861#M61628</guid>
      <dc:creator>v-sdhruv</dc:creator>
      <dc:date>2025-06-05T06:53:06Z</dc:date>
    </item>
  </channel>
</rss>

