<?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 Integrate PowerBI with .NET Web Application to export Report as PDF in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Integrate-PowerBI-with-NET-Web-Application-to-export-Report-as/m-p/2400213#M35021</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm developing, in my company, a .NET Web Application and we need to print a report with information taken from DB SqlServer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I see there is an API for Power BI to export a report as PDF, but what I was wondering is: "is there any way to send dataset for report from the application to Power BI?".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your attention.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Mar 2022 09:56:11 GMT</pubDate>
    <dc:creator>Pirand92</dc:creator>
    <dc:date>2022-03-17T09:56:11Z</dc:date>
    <item>
      <title>Integrate PowerBI with .NET Web Application to export Report as PDF</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Integrate-PowerBI-with-NET-Web-Application-to-export-Report-as/m-p/2400213#M35021</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm developing, in my company, a .NET Web Application and we need to print a report with information taken from DB SqlServer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I see there is an API for Power BI to export a report as PDF, but what I was wondering is: "is there any way to send dataset for report from the application to Power BI?".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your attention.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 09:56:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Integrate-PowerBI-with-NET-Web-Application-to-export-Report-as/m-p/2400213#M35021</guid>
      <dc:creator>Pirand92</dc:creator>
      <dc:date>2022-03-17T09:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Integrate PowerBI with .NET Web Application to export Report as PDF</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Integrate-PowerBI-with-NET-Web-Application-to-export-Report-as/m-p/2405255#M35069</link>
      <description>&lt;P&gt;What prevents you from printing the PDF directly from SQL Server or SSRS?&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 23:10:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Integrate-PowerBI-with-NET-Web-Application-to-export-Report-as/m-p/2405255#M35069</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-03-20T23:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Integrate PowerBI with .NET Web Application to export Report as PDF</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Integrate-PowerBI-with-NET-Web-Application-to-export-Report-as/m-p/2405853#M35077</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/368372"&gt;@Pirand92&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You are developing a .NET web application that uses SQL Server as the database, and you want to send the database information used in this .NET application to Power BI to create reports and then export them to PDF files? If so, you can refer to the following steps to achieve.&lt;BR /&gt;1. &lt;A href="https://docs.microsoft.com/en-us/power-query/connectors/sqlserver#connect-to-sql-server-database-from-power-query-desktop" target="_self"&gt;Connect to SQL Server from Power BI Desktop&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_3-1647846384535.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/687138i1064044C28C25E21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yingyinr_3-1647846384535.png" alt="yingyinr_3-1647846384535.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. &lt;A href="https://docs.microsoft.com/en-us/power-query/power-query-ui" target="_self"&gt;Data transformation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;3. &lt;A href="https://www.youtube.com/watch?v=Z2t7l8b1uWU" target="_self"&gt;Create report&lt;BR /&gt;&lt;/A&gt;4. &lt;A href="https://docs.microsoft.com/en-us/power-bi/consumer/end-user-pdf?tabs=powerbi-desktop" target="_self"&gt;Export to PDF&lt;/A&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditor_3511385ff3fc78yingyinr_0" class=""&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_2-1647846191095.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/687136iF3C36AAF1E9DB43C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yingyinr_2-1647846191095.png" alt="yingyinr_2-1647846191095.png" /&gt;&lt;/span&gt;
&lt;P&gt;If my above understanding is wrong, please correct me. And please provide more details on your desired result. Thank you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/export-to?tabs=gen2" target="_self"&gt;Export Power BI report to file&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Mar 2022 07:07:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Integrate-PowerBI-with-NET-Web-Application-to-export-Report-as/m-p/2405853#M35077</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-21T07:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Integrate PowerBI with .NET Web Application to export Report as PDF</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Integrate-PowerBI-with-NET-Web-Application-to-export-Report-as/m-p/2406086#M35079</link>
      <description>&lt;P&gt;Thanks both of you, I appreciate your answers.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;indeed I suggested to my company to use SSRS but they told me it's not possible because some issues with license (I didn't deep in)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;I saw that guide but I'm seeing that Power BI is not designed to work as SSRS, I found some workarounds to do that but it's extremely complicated and not much reliable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the best solution is make that on server-side by using OpenXml with a template.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks everyone&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 08:25:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Integrate-PowerBI-with-NET-Web-Application-to-export-Report-as/m-p/2406086#M35079</guid>
      <dc:creator>Pirand92</dc:creator>
      <dc:date>2022-03-21T08:25:36Z</dc:date>
    </item>
  </channel>
</rss>

