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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Gabriele_hbto
Helper II
Helper II

Calling API with web or Odata and receiving empty results

Hi everyone,

I am trying to retrieve data from this SAP API using the Web Connector:

https://XXXX.sap.XXXX.XXXX:44300/sap/opu/odata/sap/TAB1/TAB1?$select=Product&$format=json

When I make the call with Postman or open the link in a browser, I correctly get the JSON with all the data. However, when I do it from Power BI, I get nothing. I get this string {"d":{"results":[]}} as if there is no data inside, even though there is.
I have also tried using the OData connector, but I only get the column headers with no rows of data.

Could anyone help me with this please?
It's driving me crazy!

thanks guys

2 REPLIES 2
lbendlin
Super User
Super User

Please show how you include the authentication, RelativePath and Query in the Web.Contents call

 

Web.Contents - PowerQuery M | Microsoft Learn

Thanks, it was an authentication issue, I don't know why but PowerBi was making some mess, I resetted all the credentials and it worked, thanks

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.