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
PYarwood98
Helper I
Helper I

Sage HR API usage

Has anyone used the Sage HR API in Power BI, and if so can you let me know how I can upload this data into Power BI?

 

I have tried using the Web API using the API key provided by the software but it not working.

 

Regards

3 REPLIES 3
Anonymous
Not applicable

Hi,@PYarwood98 .I am glad to help you.

I recommend that you use the M-code Web.Contents provided in Power BI to connect to third-party API data sources.
Set the corresponding data source credentials (username  &token) in the function
Solved: Using The RelativePath And Query Options With Web.... - Microsoft Fabric Community
 Web.Contents - PowerQuery M | Microsoft Learn

Power BI Connector using web connectivity
Solved: Encountering SSL TLS error in web connection - Microsoft Fabric Community
API Reference | Sage Developer
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I am struggling to get Web.Content to work as a source in Power BI M Code, I tried the example from the Web.Content learning link above and nothing has happened with the data, see the visual I have based on the example:

 

PYarwood98_0-1738598543314.png

The example I used was below:

PYarwood98_1-1738598592037.png

 

If I cannot get the examples to work on Desktop I will struggle to get the coding right for the Sage HR API process.

 

Any ideas?

 

I am struggling to get Web.Content to work as a source in Power BI M Code, I tried the example from the Web.Content learning link above and nothing has happened with the data, see the visual I have based on the example:

 

PYarwood98_0-1738598543314.png

The example I used was below:

PYarwood98_1-1738598592037.png

 

If I cannot get the examples to work on Desktop I will struggle to get the coding right for the Sage HR API process.

 

Any ideas?

 

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 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.