<?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 Getting SSRS report data using a Web URL in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Getting-SSRS-report-data-using-a-Web-URL/m-p/3306913#M30322</link>
    <description>&lt;P&gt;We have third party software that uses an on-prem SQL Server database. Trying to understand all the data we need to create a Power BI report has proven to be complicated to figure out what all they're doing behind the scenes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the software does have SSRS paginated reports and allows you to create custom ones. Looking at the SQL query that made a particular report was around 7000 lines of SQL, which has been hard to reverse engineer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So instead of trying to recreate the SQL query from scratch, it appears I can connect directly to an SSRS report via a Web URL and get the data that way (see article:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/reporting-services/export-a-report-using-url-access?view=sql-server-ver16)" target="_blank" rel="nofollow noopener noreferrer"&gt;https://learn.microsoft.com/en-us/sql/reporting-services/export-a-report-using-url-access?view=sql-s...&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Connecting using this as an Excel export allowed me to get to that data and seems to work:&lt;A href="https://myrshost/ReportServer/Pages/ReportViewer.aspx?/ReportFolder/Report001&amp;amp;rs:Format=Excel" target="_blank" rel="nofollow noopener noreferrer"&gt;&amp;nbsp;https://myrshost/ReportServer/Pages/ReportViewer.aspx?/ReportFolder/Report001&amp;amp;rs:Format=Excel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a good alternative way to do this? What issues could I run into connecting this way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be welcomed.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2023 20:45:25 GMT</pubDate>
    <dc:creator>arock-well</dc:creator>
    <dc:date>2023-06-28T20:45:25Z</dc:date>
    <item>
      <title>Getting SSRS report data using a Web URL</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Getting-SSRS-report-data-using-a-Web-URL/m-p/3306913#M30322</link>
      <description>&lt;P&gt;We have third party software that uses an on-prem SQL Server database. Trying to understand all the data we need to create a Power BI report has proven to be complicated to figure out what all they're doing behind the scenes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the software does have SSRS paginated reports and allows you to create custom ones. Looking at the SQL query that made a particular report was around 7000 lines of SQL, which has been hard to reverse engineer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So instead of trying to recreate the SQL query from scratch, it appears I can connect directly to an SSRS report via a Web URL and get the data that way (see article:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/reporting-services/export-a-report-using-url-access?view=sql-server-ver16)" target="_blank" rel="nofollow noopener noreferrer"&gt;https://learn.microsoft.com/en-us/sql/reporting-services/export-a-report-using-url-access?view=sql-s...&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Connecting using this as an Excel export allowed me to get to that data and seems to work:&lt;A href="https://myrshost/ReportServer/Pages/ReportViewer.aspx?/ReportFolder/Report001&amp;amp;rs:Format=Excel" target="_blank" rel="nofollow noopener noreferrer"&gt;&amp;nbsp;https://myrshost/ReportServer/Pages/ReportViewer.aspx?/ReportFolder/Report001&amp;amp;rs:Format=Excel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a good alternative way to do this? What issues could I run into connecting this way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be welcomed.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 20:45:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Getting-SSRS-report-data-using-a-Web-URL/m-p/3306913#M30322</guid>
      <dc:creator>arock-well</dc:creator>
      <dc:date>2023-06-28T20:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Getting SSRS report data using a Web URL</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Getting-SSRS-report-data-using-a-Web-URL/m-p/3914753#M34886</link>
      <description>&lt;P&gt;Here is the easiest way to get your SSRS URL (often found as an AtomSVC file) as a dataset in PBi:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;let
    // Basis: 
    OpenAtomSVCFile = (atomsvc_Contents as text) =&amp;gt;
        let
            Source = Xml.Tables(atomsvc_Contents),
            Table0 = Source{0}[Table],
            Table = Table0{1}[Table],
            #"Changed Type" = Table.TransformColumnTypes(Table, {{"Attribute:href", type text}}),
            #"Attribute:href" = #"Changed Type"{0}[#"Attribute:href"],
            #"Clean Ampersands" = Text.Replace(#"Attribute:href", "amp;", ""),
            #"Change to CSV Format" = Text.Replace(#"Clean Ampersands", "Format=ATOM", "Format=csv"),
            Request = Csv.Document(Web.Contents(#"Change to CSV Format"), [Delimiter=","]),
            
            #"Promoted Headers" = Table.PromoteHeaders(#"Request", [PromoteAllScalars=true])
        in
            #"Promoted Headers"
in
    OpenAtomSVCFile&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 17:48:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Getting-SSRS-report-data-using-a-Web-URL/m-p/3914753#M34886</guid>
      <dc:creator>JSpe</dc:creator>
      <dc:date>2024-05-13T17:48:43Z</dc:date>
    </item>
  </channel>
</rss>

