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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Employee
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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.