<?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 Creating a new report using PowerBI Embedded in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Creating-a-new-report-using-PowerBI-Embedded/m-p/2013215#M31079</link>
    <description>&lt;P&gt;Hi, I'm using an App Owns Data model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 reports with each one having his own dataset. Let's call them report A and report B. Report's A dataset has RLS and report's B dataset doesn't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've successfully embedded both reports in my page. When I try to create a new report based on report's B dataset (no RLS), everything goes fine: the report is saved in the workspace and i can then view it on my page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However when I create a new report based on report's A dataset (with RLS) I'm having a problem and some questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. When I load the blank report with that dataset, I can't load it if i don't pass a Role (Effective Identity) that's defined in RLS (that's normal if I only try to view it, but I'm not sure if that's really needed to create a new report)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. When I successfully load the dataset (with a Role defined), I start creating visuals but they all appear blank. It's like the fields don't have any data. But if I save the report and open it in Power BI Service, the report shows the data that i've created. I'm not really sure how to fix this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cardoso20_0-1628776692257.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/572006iE4A1D3900F758539/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cardoso20_0-1628776692257.png" alt="cardoso20_0-1628776692257.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(This is what happens when i try to create a report)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cardoso20_0-1628776950017.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/572007i0C8230436D612D9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cardoso20_0-1628776950017.png" alt="cardoso20_0-1628776950017.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(And this is that report. As you can see, the report was created with no problems)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would really appreciate any help on this or tellm if you think I'm doing anything wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;</description>
    <pubDate>Thu, 12 Aug 2021 14:06:12 GMT</pubDate>
    <dc:creator>cardoso20</dc:creator>
    <dc:date>2021-08-12T14:06:12Z</dc:date>
    <item>
      <title>Creating a new report using PowerBI Embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Creating-a-new-report-using-PowerBI-Embedded/m-p/2013215#M31079</link>
      <description>&lt;P&gt;Hi, I'm using an App Owns Data model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 reports with each one having his own dataset. Let's call them report A and report B. Report's A dataset has RLS and report's B dataset doesn't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've successfully embedded both reports in my page. When I try to create a new report based on report's B dataset (no RLS), everything goes fine: the report is saved in the workspace and i can then view it on my page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However when I create a new report based on report's A dataset (with RLS) I'm having a problem and some questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. When I load the blank report with that dataset, I can't load it if i don't pass a Role (Effective Identity) that's defined in RLS (that's normal if I only try to view it, but I'm not sure if that's really needed to create a new report)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. When I successfully load the dataset (with a Role defined), I start creating visuals but they all appear blank. It's like the fields don't have any data. But if I save the report and open it in Power BI Service, the report shows the data that i've created. I'm not really sure how to fix this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cardoso20_0-1628776692257.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/572006iE4A1D3900F758539/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cardoso20_0-1628776692257.png" alt="cardoso20_0-1628776692257.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(This is what happens when i try to create a report)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cardoso20_0-1628776950017.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/572007i0C8230436D612D9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cardoso20_0-1628776950017.png" alt="cardoso20_0-1628776950017.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(And this is that report. As you can see, the report was created with no problems)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would really appreciate any help on this or tellm if you think I'm doing anything wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 14:06:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Creating-a-new-report-using-PowerBI-Embedded/m-p/2013215#M31079</guid>
      <dc:creator>cardoso20</dc:creator>
      <dc:date>2021-08-12T14:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new report using PowerBI Embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Creating-a-new-report-using-PowerBI-Embedded/m-p/2017428#M31141</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/319510"&gt;@cardoso20&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I think they may be related to the embedded token. As you said, you are used the current dataset to create new content which not defined in the current embed token.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Its dataset is already included in the token definitions, but the new report contents do not match the RLS definitions in the current token. I'd like to suggest you generate a new token for these new content and RLS verifications and try again.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/embed-token/embed-token-generate-token#generate-embedtoken-for-two-datasets-with-rls-identities-and-a-single-report-with-read-only-permissions.-this-token-allows-to-view-the-report-dynamically-bound-to-two-different-datasets" target="_blank"&gt;Embed Token - Generate Token - REST API (Power BI Power BI REST APIs) | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 05:33:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Creating-a-new-report-using-PowerBI-Embedded/m-p/2017428#M31141</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-16T05:33:04Z</dc:date>
    </item>
  </channel>
</rss>

