Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have the folling query however it only returns 100 rows and I need to get 1000 tines that.
I need to add two parameters from the API under "request data":
- search_from
- search_to
like this:
Any ideas how to include that?
This is the API that I am using so the parameters are a little different. See API here: Get Endpoints (paloaltonetworks.com).
let
body = "{ ""request_data"": {}}",
GetJson = Json.Document(Web.Contents("https://[URI].paloaltonetworks.com/public_api/v1/endpoints/get_endpoint/",
[
Headers= [
#"Content-Type"="application/json",
#"x-xdr-auth-id"="Auth_ID",
#"Authorization"="API_KEY",
#"search_from"="100",
#"search_to"="100000"
],
Content=Text.ToBinary(body)
]
)),
reply = GetJson[reply],
endpoints = reply[endpoints],
#"Converted to Table" = Table.FromList(endpoints, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"endpoint_id", "endpoint_name", "endpoint_type", "endpoint_status", "os_type", "os_version", "ip", "users", "domain", "alias", "first_seen", "last_seen", "content_version", "installation_package", "active_directory", "install_date", "endpoint_version", "is_isolated", "isolated_date", "group_name", "operational_status", "operational_status_description", "scan_status", "content_release_timestamp", "last_content_update_time"}, {"endpoint_id", "endpoint_name", "endpoint_type", "endpoint_status", "os_type", "os_version", "ip", "users", "domain", "alias", "first_seen", "last_seen", "content_version", "installation_package", "active_directory", "install_date", "endpoint_version", "is_isolated", "isolated_date", "group_name", "operational_status", "operational_status_description", "scan_status", "content_release_timestamp", "last_content_update_time"})
in
#"Expanded Column1"
The search_from & search_to highlighted in red should be under request_data also highlighted in red at the top of the query.
The syntax to get that don't is the part that I am having trouble with.
@IrieSec , check if this can help , pagination in power query
https://medium.com/@marktiedemann/how-to-do-pagination-in-power-query-430460c17c78
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 67 | |
| 59 | |
| 45 | |
| 19 | |
| 15 |