Forum Discussion

eeew00's avatar
eeew00
Helper I
6 years ago
Solved

Save query output as variable for new query (URL)

Hi guys,

 

I'm fairly new to Power BI and a total rookie to Power Query.

I've recently been building a report that gets data through SharePoint Online, and to my dismay the limit for the query is 5000 items or rows.

 

Using Web Query I can get the data + the link for the remainder of the data.

 

My question is: How can I save this href as a variable that I can use as a second query?

 

URL to get the rest of the data

  • Hi eeew00 

     

    If you can only see 5000 rows in Query Editor it might be because QE will only load a data preview, once you load the data to the model ( Close & Apply ) it should load all the data.

     

    Where did you get the 5000 rows limit from?

     

     

    Best Regards,
    Mariusz

    If this post helps, then please consider Accepting it as the solution.

    Please feel free to connect with me.
    LinkedIn

     

     

3 Replies

  • Mariusz's avatar
    Mariusz
    Community Champion

    Hi eeew00 

     

    If you can only see 5000 rows in Query Editor it might be because QE will only load a data preview, once you load the data to the model ( Close & Apply ) it should load all the data.

     

    Where did you get the 5000 rows limit from?

     

     

    Best Regards,
    Mariusz

    If this post helps, then please consider Accepting it as the solution.

    Please feel free to connect with me.
    LinkedIn

     

     

    • eeew00's avatar
      eeew00
      Helper I

      Hi Mariusz !

       

      Thanks for your reply. 

      I believe I've mixed things up a bit, when querying through the browser, there's a limit for 5000, so I assumed it would be the same in Power Query (which it is when using the Web query), but switching to the SP-List online query, I am able to receive 5k+ rows.

       

      Thanks for clearing things up for me 😄

       

      //Eelis

      • Mariusz's avatar
        Mariusz
        Community Champion

        Hi eeew00 

         

        No problem!

         

         

        Best Regards,
        Mariusz

        If this post helps, then please consider Accepting it as the solution.

        Please feel free to connect with me.
        LinkedIn