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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors