Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
geotech
Frequent Visitor

Override Data Source Variable

Hello,

 

I'm querying data from a web api whose default amount of rows to return is set to 20. The default code to pull the data is:

let
    Source = Json.Document(Web.Contents(Web API URL)
in
    Source

How would I go about modifying this code to override the default value from the data source to return all of the rows? 

 

Thanks in advance for your assistance!

1 REPLY 1
v-caliao-msft
Microsoft Employee
Microsoft Employee

@geotech,

 

Which data source did you connect? Generally, we will get all the data when using a API to get data in Power BI. In your scenario, please provide us more information, so that we can make further analysis.

 

Here is a blog which connect to twitter using API for you reference.
https://chris.koester.io/index.php/2015/07/16/get-data-from-twitter-api-with-power-query/

 

Regards,

Charlie Liao

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.