<?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 Power BI Report Server Export to PDF + Visibility Toggle in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-Export-to-PDF-Visibility-Toggle/m-p/4275675#M38529</link>
    <description>&lt;P&gt;Hej,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this wasn't asked before but I did not find anything about it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have a Report Builder Report where visibility can be toggeled through the &lt;STRONG&gt;row group &lt;/STRONG&gt;above BUT I also need it to show everything when exported to PDF - using&amp;nbsp;&lt;STRONG&gt;=IIf(Globals!RenderFormat.Name = "PDF", False, True) &lt;/STRONG&gt;as expression&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;As for my problem:&lt;BR /&gt;I go to preview and the report is shown, toggles work. As long as I don't expand anything in the report, the PDF Export works fine and everything is shown.&amp;nbsp;&lt;BR /&gt;BUT as soon as I expand something the PDF Export is missing those rows. I kinda came to the conlcusion that the toggle overwrites my expression and I haven't found any way to make this work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In short what I need is:&amp;nbsp;&amp;nbsp;&lt;BR /&gt;PDF Export showing everything&lt;/P&gt;&lt;P&gt;Toggle for Report Builder still working&lt;BR /&gt;&lt;BR /&gt;Thanks in advance if you have any idea how I could make this work!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2024 13:14:54 GMT</pubDate>
    <dc:creator>Menawhile</dc:creator>
    <dc:date>2024-11-08T13:14:54Z</dc:date>
    <item>
      <title>Power BI Report Server Export to PDF + Visibility Toggle</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-Export-to-PDF-Visibility-Toggle/m-p/4275675#M38529</link>
      <description>&lt;P&gt;Hej,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this wasn't asked before but I did not find anything about it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have a Report Builder Report where visibility can be toggeled through the &lt;STRONG&gt;row group &lt;/STRONG&gt;above BUT I also need it to show everything when exported to PDF - using&amp;nbsp;&lt;STRONG&gt;=IIf(Globals!RenderFormat.Name = "PDF", False, True) &lt;/STRONG&gt;as expression&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;As for my problem:&lt;BR /&gt;I go to preview and the report is shown, toggles work. As long as I don't expand anything in the report, the PDF Export works fine and everything is shown.&amp;nbsp;&lt;BR /&gt;BUT as soon as I expand something the PDF Export is missing those rows. I kinda came to the conlcusion that the toggle overwrites my expression and I haven't found any way to make this work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In short what I need is:&amp;nbsp;&amp;nbsp;&lt;BR /&gt;PDF Export showing everything&lt;/P&gt;&lt;P&gt;Toggle for Report Builder still working&lt;BR /&gt;&lt;BR /&gt;Thanks in advance if you have any idea how I could make this work!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 13:14:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-Export-to-PDF-Visibility-Toggle/m-p/4275675#M38529</guid>
      <dc:creator>Menawhile</dc:creator>
      <dc:date>2024-11-08T13:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Report Server Export to PDF + Visibility Toggle</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-Export-to-PDF-Visibility-Toggle/m-p/4276537#M38536</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="841875" data-lia-user-login="Menawhile" class="lia-mention lia-mention-user"&gt;Menawhile&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe you can use a report parameter for this to see if that makes a difference?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like the below (in that case the parameters is called ShowAllRows)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=IIf(Globals!RenderFormat.Name = "PDF" And Parameters!ShowAllRows.Value = True, False, True)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2024 11:41:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-Export-to-PDF-Visibility-Toggle/m-p/4276537#M38536</guid>
      <dc:creator>Expiscornovus</dc:creator>
      <dc:date>2024-11-09T11:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Report Server Export to PDF + Visibility Toggle</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-Export-to-PDF-Visibility-Toggle/m-p/4277544#M38541</link>
      <description>&lt;P&gt;Hej&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="21750" data-lia-user-login="Expiscornovus" class="lia-mention lia-mention-user"&gt;Expiscornovus&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you elaborate on this? What exactly would the parameter do? How do I get it to show all rows and I would to have to trigger it manually, wouldn't I?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 05:14:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-Export-to-PDF-Visibility-Toggle/m-p/4277544#M38541</guid>
      <dc:creator>Menawhile</dc:creator>
      <dc:date>2024-11-11T05:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Report Server Export to PDF + Visibility Toggle</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-Export-to-PDF-Visibility-Toggle/m-p/4277570#M38542</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;Expiscornovus&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="841875" data-lia-user-login="Menawhile" class="lia-mention lia-mention-user"&gt;Menawhile&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found a solution:&lt;/P&gt;
&lt;P&gt;Here's a reproduction of the issue:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Your current issue:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Here's the solution:&lt;/P&gt;
&lt;P&gt;Start by clearing the expressions in your original matrix:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=IIf(Globals!RenderFormat.Name = "PDF", False, True) &lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then, make a copy of this matrix:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Add the following show hidden expression to the copied matrix as a whole:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;After adding this expression, normally when we view the report it is hidden:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then add an expression to the toggle of this copy matrix:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;In this way, this hidden copy matrix will be printed when we export the pdf:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Next, we need to hide the original matrix and then place the copy matrix in the position of the original matrix:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;When we print, this original matrix will be hidden:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Overlapping the two matrices together is shown in the following figure:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Whether we expand it or not, we export the PDF with all the data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;In summary, the matrix we exported is a hidden identical matrix, and when the user expands the original matrix, it does not affect the entire hidden matrix. A PDF of the export results showing all the data each time was obtained.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Jianpeng &lt;/SPAN&gt;&lt;SPAN&gt;Li&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post &lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 05:34:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-Export-to-PDF-Visibility-Toggle/m-p/4277570#M38542</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-11T05:34:12Z</dc:date>
    </item>
  </channel>
</rss>

