<?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: API returning only 1000 results in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/API-returning-only-1000-results/m-p/3087151#M41323</link>
    <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/339423"&gt;@bonjourposte&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I'd like to suggest you take a look at the following official document link with some helper functions to know how to handle pagination API:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://learn.microsoft.com/en-us/power-query/helper-functions#tablegeneratebypage" target="_blank"&gt;Helper functions for M extensions for Power Query connectors - Power Query | Microsoft Learn&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2023 05:56:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-02-20T05:56:22Z</dc:date>
    <item>
      <title>API returning only 1000 results</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-returning-only-1000-results/m-p/3083726#M41282</link>
      <description>&lt;P&gt;I'm using the SDMX API to call up census data, and there are 1600+ rows, but Power BI is only importing 1000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the API:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://api.statcan.gc.ca/census-recensement/profile/sdmx/rest/data/STC_CP,DF_FSA/A5..1.1480.1" target="_blank" rel="noopener"&gt;http://api.statcan.gc.ca/census-recensement/profile/sdmx/rest/data/STC_CP,DF_FSA/A5..1.229.1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm following Curbal's tutorial on pagination, but the syntax is such that I don't know how or where to put the page # (it's different from her example)&lt;/P&gt;&lt;P&gt;For example, I've tried tacking on the following, and they don't work:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- &lt;A href="https://api.statcan.gc.ca/census-recensement/profile/sdmx/rest/data/STC_CP,DF_FSA/A5..1.229.1/" target="_blank" rel="noopener"&gt;https://api.statcan.gc.ca/census-recensement/profile/sdmx/rest/data/STC_CP,DF_FSA/A5..1.229.1/&lt;/A&gt;&lt;STRONG&gt;page=2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- &lt;A href="https://api.statcan.gc.ca/census-recensement/profile/sdmx/rest/data/STC_CP,DF_FSA/A5..1.229.1" target="_blank" rel="noopener"&gt;https://api.statcan.gc.ca/census-recensement/profile/sdmx/rest/data/STC_CP,DF_FSA/A5..1.229.1&lt;/A&gt;&lt;STRONG&gt;/?page=2 &lt;/STRONG&gt;(error message*)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-&amp;nbsp;&lt;/STRONG&gt;&lt;A href="https://api.statcan.gc.ca/census-recensement/profile/sdmx/rest/data/STC_CP,DF_FSA/A5..1.229.1" target="_blank" rel="noopener"&gt;https://api.statcan.gc.ca/census-recensement/profile/sdmx/rest/data/STC_CP,DF_FSA/A5..1.229.1&lt;/A&gt;&lt;STRONG&gt;.page=2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- &lt;A href="https://api.statcan.gc.ca/census-recensement/profile/sdmx/rest/data/STC_CP,DF_FSA/A5..1.229.1" target="_blank" rel="noopener"&gt;https://api.statcan.gc.ca/census-recensement/profile/sdmx/rest/data/STC_CP,DF_FSA/A5..1.229.1&lt;/A&gt;.&lt;STRONG&gt;?page=2 &lt;/STRONG&gt;(error message*)&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;A href="http://api.statcan.gc.ca/census-recensement/profile/sdmx/rest/data/STC_CP,DF_FSA/A5..1.229.1.?page_id=2" target="_blank"&gt;http://api.statcan.gc.ca/census-recensement/profile/sdmx/rest/data/STC_CP,DF_FSA/A5..1.229.1.?page_id=2&lt;/A&gt;&amp;nbsp;(error message*)&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;A href="http://api.statcan.gc.ca/census-recensement/profile/sdmx/rest/data/STC_CP,DF_FSA/A5..1.229.1" target="_blank"&gt;http://api.statcan.gc.ca/census-recensement/profile/sdmx/rest/data/STC_CP,DF_FSA/A5..1.229.1&lt;/A&gt;&lt;STRONG&gt;/?page_id=2&amp;nbsp;&lt;/STRONG&gt;(error message*)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error message is "unprocessable entity (422)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know the syntax to get the second page of data?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 17:05:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-returning-only-1000-results/m-p/3083726#M41282</guid>
      <dc:creator>bonjourposte</dc:creator>
      <dc:date>2023-02-16T17:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: API returning only 1000 results</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-returning-only-1000-results/m-p/3087151#M41323</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/339423"&gt;@bonjourposte&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I'd like to suggest you take a look at the following official document link with some helper functions to know how to handle pagination API:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://learn.microsoft.com/en-us/power-query/helper-functions#tablegeneratebypage" target="_blank"&gt;Helper functions for M extensions for Power Query connectors - Power Query | Microsoft Learn&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 05:56:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-returning-only-1000-results/m-p/3087151#M41323</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-20T05:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: API returning only 1000 results</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-returning-only-1000-results/m-p/3091176#M41373</link>
      <description>&lt;P&gt;Thanks, I contacted SDMX, and they said there is no page 2.&amp;nbsp; The entire data WAS loading into Power BI, but I couldn't get it out into Excel.&amp;nbsp; I eventually just manually merged every Code ID in a matrix visual, clicked the three dots, and exported to csv.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 19:37:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-returning-only-1000-results/m-p/3091176#M41373</guid>
      <dc:creator>bonjourposte</dc:creator>
      <dc:date>2023-02-21T19:37:31Z</dc:date>
    </item>
  </channel>
</rss>

