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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors