<?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 Programmatically Bulk Export to PDF - inconsistent behavior in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Programmatically-Bulk-Export-to-PDF-inconsistent-behavior/m-p/2461370#M35587</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have a process that answers the need to create PDF reports based on a "Template".&lt;/P&gt;&lt;P&gt;We fomatted a Power BI report as the template. It has 6 tabs.&lt;/P&gt;&lt;P&gt;A python script opens an Excel file + the report in Power BI Desktop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For each row in the Excel (this month we have 69) the script filters the Power BI and then sends CTRL + P to the operating system, which should result in exporting the report to PDF. At the end we should have 69 temporary libraries, each with a PDF named &lt;STRONG&gt;Rep1.pdf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works for the first iterations of the loop, but for later rows the CTRL + P results in a file name&amp;nbsp;&lt;STRONG&gt;section-000x.pdf&lt;/STRONG&gt; (x changes between 3 and 6) and the corresponding pdf has only one page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to find out how a keyborad action can result in printing only one tab, and all the documentation says that it's not possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does somebody have a clue what happens here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Barak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Apr 2022 11:00:13 GMT</pubDate>
    <dc:creator>barakb321</dc:creator>
    <dc:date>2022-04-18T11:00:13Z</dc:date>
    <item>
      <title>Programmatically Bulk Export to PDF - inconsistent behavior</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Programmatically-Bulk-Export-to-PDF-inconsistent-behavior/m-p/2461370#M35587</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have a process that answers the need to create PDF reports based on a "Template".&lt;/P&gt;&lt;P&gt;We fomatted a Power BI report as the template. It has 6 tabs.&lt;/P&gt;&lt;P&gt;A python script opens an Excel file + the report in Power BI Desktop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For each row in the Excel (this month we have 69) the script filters the Power BI and then sends CTRL + P to the operating system, which should result in exporting the report to PDF. At the end we should have 69 temporary libraries, each with a PDF named &lt;STRONG&gt;Rep1.pdf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works for the first iterations of the loop, but for later rows the CTRL + P results in a file name&amp;nbsp;&lt;STRONG&gt;section-000x.pdf&lt;/STRONG&gt; (x changes between 3 and 6) and the corresponding pdf has only one page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to find out how a keyborad action can result in printing only one tab, and all the documentation says that it's not possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does somebody have a clue what happens here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Barak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 11:00:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Programmatically-Bulk-Export-to-PDF-inconsistent-behavior/m-p/2461370#M35587</guid>
      <dc:creator>barakb321</dc:creator>
      <dc:date>2022-04-18T11:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically Bulk Export to PDF - inconsistent behavior</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Programmatically-Bulk-Export-to-PDF-inconsistent-behavior/m-p/2468244#M35619</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/344209"&gt;@barakb321&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to&amp;nbsp;&lt;SPAN&gt;export powerbi report as PDF and store them in some centralized location automaticlly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;You could refer to this blog.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://powerbi.microsoft.com/en-us/blog/e-mail-subscriptions-for-paginated-reports-is-now-available/" target="_blank" rel="nofollow noopener noreferrer"&gt;E-Mail Subscriptions for Paginated Reports is Now Available&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You will need a Premium license to do it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 07:49:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Programmatically-Bulk-Export-to-PDF-inconsistent-behavior/m-p/2468244#M35619</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-21T07:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically Bulk Export to PDF - inconsistent behavior</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Programmatically-Bulk-Export-to-PDF-inconsistent-behavior/m-p/2473089#M35667</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it available on PBRS?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Barak&lt;/P&gt;</description>
      <pubDate>Sun, 24 Apr 2022 07:13:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Programmatically-Bulk-Export-to-PDF-inconsistent-behavior/m-p/2473089#M35667</guid>
      <dc:creator>barakb321</dc:creator>
      <dc:date>2022-04-24T07:13:22Z</dc:date>
    </item>
  </channel>
</rss>

