<?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: Help with paginated report RLS in embedded solution in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Help-with-paginated-report-RLS-in-embedded-solution/m-p/4799832#M62732</link>
    <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Hey&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1265075"&gt;@Erkko&lt;/a&gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;You’re on the right track – paginated RLS works differently than normal PBIX reports. A few key things to check:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Use @UserID or =User!UserID / =User!CustomData&lt;/STRONG&gt; inside your dataset queries or filters. For embedded, only CustomData() works, so make sure you pass the correct value in the embed token.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Set up the filter at dataset level&lt;/STRONG&gt; (SQL or SSAS query) – paginated reports don’t use Power BI model RLS.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Verify the embed token actually carries CustomData&lt;/STRONG&gt; (you can test by showing it in a textbox with =User!CustomData).&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Avoid relying on security groups&lt;/STRONG&gt; – for paginated, the row filtering must happen through the query logic tied to that CustomData.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Debug step&lt;/STRONG&gt;: First hardcode a value in your dataset query to confirm data comes through, then swap in =User!CustomData.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;This way, each customer’s data is filtered correctly when you embed the report.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Fixed? ✓ Mark it • Share it • Help others!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Best Regards,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;EM&gt;Jainesh Poojara | Power BI Developer&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Aug 2025 12:24:11 GMT</pubDate>
    <dc:creator>jaineshp</dc:creator>
    <dc:date>2025-08-18T12:24:11Z</dc:date>
    <item>
      <title>Help with paginated report RLS in embedded solution</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Help-with-paginated-report-RLS-in-embedded-solution/m-p/4799770#M62731</link>
      <description>&lt;P&gt;Hi! We are currently stuck with RLS in a case where would need to embed paginated report for customers. We got the normal reports working in app using the customdata() value. We have app-owns-data scenario and the users are all in the same security group but they are separated with user.1.(customernumber) and we use the customernumber to filter the data depending by the customer. We have now tried many ways but we can't see any data coming to the report. Including this method =&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/paginated-reports-row-level-security" target="_blank"&gt;https://learn.microsoft.com/en-us/power-bi/developer/embedded/paginated-reports-row-level-security&lt;/A&gt;&amp;nbsp;.&lt;BR /&gt;&lt;BR /&gt;Is there any way to apply this RLS for paginated report in our scenario?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 11:50:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Help-with-paginated-report-RLS-in-embedded-solution/m-p/4799770#M62731</guid>
      <dc:creator>Erkko</dc:creator>
      <dc:date>2025-08-18T11:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with paginated report RLS in embedded solution</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Help-with-paginated-report-RLS-in-embedded-solution/m-p/4799832#M62732</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Hey&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1265075"&gt;@Erkko&lt;/a&gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;You’re on the right track – paginated RLS works differently than normal PBIX reports. A few key things to check:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Use @UserID or =User!UserID / =User!CustomData&lt;/STRONG&gt; inside your dataset queries or filters. For embedded, only CustomData() works, so make sure you pass the correct value in the embed token.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Set up the filter at dataset level&lt;/STRONG&gt; (SQL or SSAS query) – paginated reports don’t use Power BI model RLS.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Verify the embed token actually carries CustomData&lt;/STRONG&gt; (you can test by showing it in a textbox with =User!CustomData).&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Avoid relying on security groups&lt;/STRONG&gt; – for paginated, the row filtering must happen through the query logic tied to that CustomData.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;STRONG&gt;Debug step&lt;/STRONG&gt;: First hardcode a value in your dataset query to confirm data comes through, then swap in =User!CustomData.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;This way, each customer’s data is filtered correctly when you embed the report.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Fixed? ✓ Mark it • Share it • Help others!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;Best Regards,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2" color="#000000"&gt;&lt;EM&gt;Jainesh Poojara | Power BI Developer&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 12:24:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Help-with-paginated-report-RLS-in-embedded-solution/m-p/4799832#M62732</guid>
      <dc:creator>jaineshp</dc:creator>
      <dc:date>2025-08-18T12:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help with paginated report RLS in embedded solution</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Help-with-paginated-report-RLS-in-embedded-solution/m-p/4804937#M62806</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We got it working using your instructions but we started to test it further. We got it working also using only role in the datamodel. We have a role named "Example" using Table1[Username] = USERNAME() in Power BI. We pass from the code the UI Username value to the role and it filters data also automatically. Is this also a correct and secure way to do this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 11:12:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Help-with-paginated-report-RLS-in-embedded-solution/m-p/4804937#M62806</guid>
      <dc:creator>Erkko</dc:creator>
      <dc:date>2025-08-22T11:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help with paginated report RLS in embedded solution</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Help-with-paginated-report-RLS-in-embedded-solution/m-p/4848652#M63424</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1284569"&gt;@jaineshp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We got it working using your instructions but we started to test it further. We got it working also using only role in the datamodel. We have a role named "Example" using Table1[Username] = USERNAME() in Power BI. We pass from the code the UI Username value to the role and it filters data also automatically. Is this also a correct and secure way to do this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 07:31:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Help-with-paginated-report-RLS-in-embedded-solution/m-p/4848652#M63424</guid>
      <dc:creator>Erkko</dc:creator>
      <dc:date>2025-10-13T07:31:06Z</dc:date>
    </item>
  </channel>
</rss>

