<?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: Issue with Applying Page Filters in Power BI ExportTo API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Applying-Page-Filters-in-Power-BI-ExportTo-API/m-p/4310902#M58535</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt; Thank you for taking the time to respond and provide guidance. I truly appreciate your effort to help.&lt;BR /&gt;I’ve tried several approaches with the filters, such as:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;reportLevelFilters&lt;/SPAN&gt;: [{&lt;BR /&gt;    &lt;SPAN&gt;filter&lt;/SPAN&gt;: &lt;SPAN&gt;`order_details/Attempt00x20Count in ('1', '2')`&lt;BR /&gt;&lt;/SPAN&gt;}]&lt;/PRE&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;reportLevelFilters&lt;/SPAN&gt;: [{&lt;BR /&gt;    &lt;SPAN&gt;filter&lt;/SPAN&gt;: &lt;SPAN&gt;`order_details/Attempt_00x20_Count in (1, 2)`&lt;BR /&gt;&lt;/SPAN&gt;}]&lt;/PRE&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;reportLevelFilters&lt;/SPAN&gt;: [{&lt;BR /&gt;    &lt;SPAN&gt;filter&lt;/SPAN&gt;: &lt;SPAN&gt;`order_details/Attempt00x20Count in (1, 2)`&lt;BR /&gt;&lt;/SPAN&gt;}],&lt;/PRE&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;reportLevelFilters&lt;/SPAN&gt;: [{&lt;BR /&gt;    &lt;SPAN&gt;filter&lt;/SPAN&gt;: &lt;SPAN&gt;`order_details/Attempt_00x20_Count in ('1', '2')`&lt;BR /&gt;&lt;/SPAN&gt;}],&lt;/PRE&gt;&lt;P&gt;Unfortunately, none of these approaches worked for me. I wanted to clarify that this filter is meant to be applied at the &lt;STRONG&gt;page level&lt;/STRONG&gt;, not the &lt;STRONG&gt;report level&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;If you have any further insights or suggestions on how to structure the filter correctly for page-level filtering, I would be extremely grateful. Thank you again for your time and assistance!&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Jay Kanara&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 03 Dec 2024 05:33:57 GMT</pubDate>
    <dc:creator>jay-sr</dc:creator>
    <dc:date>2024-12-03T05:33:57Z</dc:date>
    <item>
      <title>Issue with Applying Page Filters in Power BI ExportTo API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Applying-Page-Filters-in-Power-BI-ExportTo-API/m-p/4309585#M58514</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;I am facing an issue while trying to export a Power BI paginated report using the ExportTo API with date filters applied. Despite passing the filters in the reportLevelFilters&amp;nbsp; as part of the request body and also tried using the URL based filter, the API does not seem to respect the filters, and the exported report includes all data, ignoring the date constraints.&lt;/P&gt;&lt;P&gt;Here is the API endpoint and request payload I am using:&lt;/P&gt;&lt;H4&gt;&lt;STRONG&gt;API Endpoint:&lt;/STRONG&gt;&lt;/H4&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;POST &lt;A href="https://api.powerbi.com/v1.0/myorg/groups/{workspaceId}/reports/{reportId}/ExportTo" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/groups/{workspaceId}/reports/{reportId}/ExportTo&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;H4&gt;&lt;STRONG&gt;Request Body:&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H4&gt;&lt;DIV&gt;&lt;PRE&gt;{&lt;BR /&gt;    &lt;SPAN&gt;format&lt;/SPAN&gt;: &lt;SPAN&gt;'PDF'&lt;/SPAN&gt;,&lt;BR /&gt;    &lt;SPAN&gt;powerBIReportConfiguration&lt;/SPAN&gt;: {&lt;BR /&gt;        &lt;SPAN&gt;reportLevelFilters&lt;/SPAN&gt;: [{&lt;BR /&gt;            &lt;SPAN&gt;filter&lt;/SPAN&gt;: &lt;SPAN&gt;`order_details/Billing Cycle in ('Cycle 1', 'Cycle 2')`&lt;BR /&gt;&lt;/SPAN&gt;        }],&lt;BR /&gt;        &lt;SPAN&gt;pages&lt;/SPAN&gt;: [&lt;BR /&gt;            {&lt;BR /&gt;                &lt;SPAN&gt;pageName&lt;/SPAN&gt;: &lt;SPAN&gt;pageName&lt;BR /&gt;&lt;/SPAN&gt;            }&lt;BR /&gt;        ]&lt;BR /&gt;    }&lt;BR /&gt;};&lt;/PRE&gt;&lt;P&gt;Here is the catch, the filter (order_details/) here is in the page not on the report level filter.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;H4&gt;&lt;STRONG&gt;Objective:&lt;/STRONG&gt;&lt;/H4&gt;&lt;P&gt;I want to filter the data in the exported paginated report to include only rows where the billing cycle in Cycle 1, Cycle 2 (order_details table). However, the report exports with all the data, completely ignoring the filter.&lt;/P&gt;&lt;H4&gt;&lt;STRONG&gt;What I Have Tried:&lt;/STRONG&gt;&lt;/H4&gt;&lt;OL&gt;&lt;LI&gt;I have get the iframe using the credentials and put this filter over there and it is running fine.&lt;/LI&gt;&lt;LI&gt;Verified that the Power BI workspace, report ID, and access token are correct.&lt;/LI&gt;&lt;/OL&gt;&lt;HR /&gt;&lt;H4&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;/H4&gt;&lt;P&gt;No matter what I try, the exported report does not respect the filters for filtering. It always exports the full dataset instead of applying the billing cycle filter.&lt;/P&gt;&lt;HR /&gt;&lt;H4&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/H4&gt;&lt;OL&gt;&lt;LI&gt;Is there a specific format for passing page level filters for&amp;nbsp;paginated reports?&lt;/LI&gt;&lt;LI&gt;Does the ExportTo API support page level filters for paginated reports? If yes, how should the request body be structured?&lt;/LI&gt;&lt;LI&gt;Has anyone successfully applied date filters in a similar scenario? If so, could you share the correct approach?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any guidance or suggestions to resolve this issue would be greatly appreciated. Thank you in advance for your help!&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Jay Kanara&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 02 Dec 2024 09:37:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Applying-Page-Filters-in-Power-BI-ExportTo-API/m-p/4309585#M58514</guid>
      <dc:creator>jay-sr</dc:creator>
      <dc:date>2024-12-02T09:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Applying Page Filters in Power BI ExportTo API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Applying-Page-Filters-in-Power-BI-ExportTo-API/m-p/4310472#M58529</link>
      <description>&lt;P&gt;Your filter is ignored because you did not escape the special characters in the table name and column name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters#special-characters-in-url-filters" target="_blank"&gt;Filter a report using query string parameters in the URL - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 22:09:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Applying-Page-Filters-in-Power-BI-ExportTo-API/m-p/4310472#M58529</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-12-02T22:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Applying Page Filters in Power BI ExportTo API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Applying-Page-Filters-in-Power-BI-ExportTo-API/m-p/4310902#M58535</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt; Thank you for taking the time to respond and provide guidance. I truly appreciate your effort to help.&lt;BR /&gt;I’ve tried several approaches with the filters, such as:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;reportLevelFilters&lt;/SPAN&gt;: [{&lt;BR /&gt;    &lt;SPAN&gt;filter&lt;/SPAN&gt;: &lt;SPAN&gt;`order_details/Attempt00x20Count in ('1', '2')`&lt;BR /&gt;&lt;/SPAN&gt;}]&lt;/PRE&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;reportLevelFilters&lt;/SPAN&gt;: [{&lt;BR /&gt;    &lt;SPAN&gt;filter&lt;/SPAN&gt;: &lt;SPAN&gt;`order_details/Attempt_00x20_Count in (1, 2)`&lt;BR /&gt;&lt;/SPAN&gt;}]&lt;/PRE&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;reportLevelFilters&lt;/SPAN&gt;: [{&lt;BR /&gt;    &lt;SPAN&gt;filter&lt;/SPAN&gt;: &lt;SPAN&gt;`order_details/Attempt00x20Count in (1, 2)`&lt;BR /&gt;&lt;/SPAN&gt;}],&lt;/PRE&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;reportLevelFilters&lt;/SPAN&gt;: [{&lt;BR /&gt;    &lt;SPAN&gt;filter&lt;/SPAN&gt;: &lt;SPAN&gt;`order_details/Attempt_00x20_Count in ('1', '2')`&lt;BR /&gt;&lt;/SPAN&gt;}],&lt;/PRE&gt;&lt;P&gt;Unfortunately, none of these approaches worked for me. I wanted to clarify that this filter is meant to be applied at the &lt;STRONG&gt;page level&lt;/STRONG&gt;, not the &lt;STRONG&gt;report level&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;If you have any further insights or suggestions on how to structure the filter correctly for page-level filtering, I would be extremely grateful. Thank you again for your time and assistance!&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Jay Kanara&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Dec 2024 05:33:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Applying-Page-Filters-in-Power-BI-ExportTo-API/m-p/4310902#M58535</guid>
      <dc:creator>jay-sr</dc:creator>
      <dc:date>2024-12-03T05:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Applying Page Filters in Power BI ExportTo API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Applying-Page-Filters-in-Power-BI-ExportTo-API/m-p/4311665#M58540</link>
      <description>&lt;P&gt;Please read the documentation again. Your encoding style is incorrect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no such thing as page level filters for this scenario. Filters are applied to the data model as a whole.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 13:32:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Applying-Page-Filters-in-Power-BI-ExportTo-API/m-p/4311665#M58540</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-12-03T13:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Applying Page Filters in Power BI ExportTo API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Applying-Page-Filters-in-Power-BI-ExportTo-API/m-p/4312074#M58543</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have finally resolved the issue! It turns out the problem was not related to the encoding or syntax of the filter. Instead, it was due to a mismatch between the data accepted by Power BI and the data available in the data models.&lt;/P&gt;&lt;P&gt;Thank you once again, &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;, for your response and guidance—it helped me stay on track to identify the root cause.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Jay Kanara&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 18:33:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Issue-with-Applying-Page-Filters-in-Power-BI-ExportTo-API/m-p/4312074#M58543</guid>
      <dc:creator>jay-sr</dc:creator>
      <dc:date>2024-12-03T18:33:54Z</dc:date>
    </item>
  </channel>
</rss>

