<?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: How to use stored procedure to get data? in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-stored-procedure-to-get-data/m-p/337968#M3373</link>
    <description>&lt;P&gt;I've found there're basicaly 3 ways how to utilise stored procedure in Power BI:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Using and executing variable&lt;/LI&gt;&lt;LI&gt;Openquery&lt;/LI&gt;&lt;LI&gt;Table-Valued Function&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;It seems, the most straightforward way is to execute variable which stores stored procedure call, however I'm having some troubles in doing so.&lt;/P&gt;</description>
    <pubDate>Sun, 14 Jan 2018 21:08:56 GMT</pubDate>
    <dc:creator>SJi</dc:creator>
    <dc:date>2018-01-14T21:08:56Z</dc:date>
    <item>
      <title>How to use stored procedure to get data?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-stored-procedure-to-get-data/m-p/337561#M3368</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we have stored procedures made for our mobile and paginated reports and we would like to use them with PowerBI. The procedures often have temp tables and parameters. I've enabled opequery on our database, however&amp;nbsp;I'm getting an error as show below. How can be stored procedure used to get data in PowerBI? Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Details: "Microsoft SQL: The metadata could not be determined because statement 'SELECT 
		ROW_NUMBER () OVER (PARTITION BY a.MonthBack ORDER BY sum(a.ApprovedLoanAmount) DESC)	&lt;BR /&gt;AS' in procedure 'MR0001_MosRanking' uses a temp table."&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 16:41:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-stored-procedure-to-get-data/m-p/337561#M3368</guid>
      <dc:creator>SJi</dc:creator>
      <dc:date>2018-01-12T16:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to use stored procedure to get data?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-stored-procedure-to-get-data/m-p/337968#M3373</link>
      <description>&lt;P&gt;I've found there're basicaly 3 ways how to utilise stored procedure in Power BI:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Using and executing variable&lt;/LI&gt;&lt;LI&gt;Openquery&lt;/LI&gt;&lt;LI&gt;Table-Valued Function&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;It seems, the most straightforward way is to execute variable which stores stored procedure call, however I'm having some troubles in doing so.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jan 2018 21:08:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-stored-procedure-to-get-data/m-p/337968#M3373</guid>
      <dc:creator>SJi</dc:creator>
      <dc:date>2018-01-14T21:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to use stored procedure to get data?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-stored-procedure-to-get-data/m-p/338040#M3378</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="51782" data-lia-user-login="SJi" class="lia-mention lia-mention-user"&gt;SJi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your sharing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Yuliana Gu&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 01:57:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-stored-procedure-to-get-data/m-p/338040#M3378</guid>
      <dc:creator>v-yulgu-msft</dc:creator>
      <dc:date>2018-01-15T01:57:58Z</dc:date>
    </item>
  </channel>
</rss>

