<?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: Unexpected results for data source SharePoint 2013 List items using a SharePoint REST API in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-results-for-data-source-SharePoint-2013-List-items/m-p/919921#M12873</link>
    <description>&lt;P&gt;You shouldn't be using REST, you should use OData. If you set your filters in Power Query as shown in this link,&amp;nbsp;&lt;A href="https://marqueeinsights.com/how-to-data-mine-a-sharepoint-list-with-power-bi/&amp;nbsp;" target="_blank"&gt;https://marqueeinsights.com/how-to-data-mine-a-sharepoint-list-with-power-bi/&amp;nbsp;&lt;/A&gt; they will be automatically added to the OData call and filtered out. The process for SharePoint 2013-2019 and Office 365 are the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;--Treb, Power BI MVP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://getstartedwithpowerbi.com" target="_blank"&gt;https://getstartedwithpowerbi.com&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Feb 2020 16:10:26 GMT</pubDate>
    <dc:creator>trebgatte</dc:creator>
    <dc:date>2020-02-03T16:10:26Z</dc:date>
    <item>
      <title>Unexpected results for data source SharePoint 2013 List items using a SharePoint REST API</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-results-for-data-source-SharePoint-2013-List-items/m-p/913937#M12794</link>
      <description>&lt;P&gt;I am trying to pull items/properties from a SharePoint 2013 List using a REST API call.&amp;nbsp; I cannot use the Power BI built in data source because over 8 GB of data is getting returned because of PDFs being part of the SP list.&amp;nbsp; I would like to use the REST API call to limit which fields that are returned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I came across this article&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And ended up with a Source like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Web.Contents("&lt;A href="https://mysite.org/dept/sites/mysite/_api/Web/Lists/GetByTitle('mylist')/items?$select=*" target="_blank" rel="noopener"&gt;https://mysite.org/dept/sites/mysite/_api/Web/Lists/GetByTitle('mylist')/items?$select=*&lt;/A&gt;")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to parse the results as Json or XML or even CSV but the results do not make sense for what I expect.&amp;nbsp; I do get results I just can't make sense of them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance, Scott&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 17:24:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-results-for-data-source-SharePoint-2013-List-items/m-p/913937#M12794</guid>
      <dc:creator>wskallmeyer</dc:creator>
      <dc:date>2020-01-28T17:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected results for data source SharePoint 2013 List items using a SharePoint REST API</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-results-for-data-source-SharePoint-2013-List-items/m-p/919921#M12873</link>
      <description>&lt;P&gt;You shouldn't be using REST, you should use OData. If you set your filters in Power Query as shown in this link,&amp;nbsp;&lt;A href="https://marqueeinsights.com/how-to-data-mine-a-sharepoint-list-with-power-bi/&amp;nbsp;" target="_blank"&gt;https://marqueeinsights.com/how-to-data-mine-a-sharepoint-list-with-power-bi/&amp;nbsp;&lt;/A&gt; they will be automatically added to the OData call and filtered out. The process for SharePoint 2013-2019 and Office 365 are the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;--Treb, Power BI MVP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://getstartedwithpowerbi.com" target="_blank"&gt;https://getstartedwithpowerbi.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 16:10:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Unexpected-results-for-data-source-SharePoint-2013-List-items/m-p/919921#M12873</guid>
      <dc:creator>trebgatte</dc:creator>
      <dc:date>2020-02-03T16:10:26Z</dc:date>
    </item>
  </channel>
</rss>

