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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Corey-Flinders
Frequent Visitor

Is it Possible to Access the Power BI API using Power BI

Hi,

 

Is it possible to access the Power BI API using Power BI itself? For example could I use Power BI to use the API to Get the Refresh History for a dataset using the Get Refresh History In Group API call?

 

The reason I ask is that I have a requirement to show the last update time on some of my reports. Currently I am using the technique to access the TimeZoneDB service as outlined on this RADCAD Blog page.

 

This works fine, but it does introduce a dependency on a third party system which I'd prefer to avoid.

 

The use of the Get Refresh History In Group API call looks very attractive. As it gives additional information which I can highlight in the report should the refresh have failed for example.

 

Any thoughts will be most welcome.

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@Corey-Flinders ,

 

Please refer to this video about how to access json api in power query.

 

Regards,

Jimmy Tao

Hi @v-yuta-msft,

 

Thanks for the link. The video is interesting. Unfortunately it isn't exactly what I was looking for.

 

I'm more interested in the specifics of using the Power BI API with the Power BI application and Power BI service.

 

For example:

  1. Do I need to register an application.
    Which seems a little redundant given I'm using Power BI to access a Power BI API.
  2. How do I authenticate to the API?
    Especially given as I can't prompt for credentials for an OAuth token

Do you, or anyone else on the community, have any information specific to using the Power Query capabilities in Power BI to access the Power BI APIs?

 

With thanks.

 

-Corey

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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