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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

PowerBI datasets list to a table from rest api call

Hi Gurus,

I am trying to get the list of datasets into a PowerBI tabel. 

I use the below api generator to creat a api link

https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasetsingroup#code-try-0

 

i put may parameter in the groupid and create below link( not full one for security purposes)

api request : 
GET https://api.powerbi.com/v1.0/myorg/groups/501a0a8a-6270-##$$2-9801-4964e#######/datasets

 

Then I copy the above link and creat below script in power query

let
Source = Json.Document(Web.Contents("https://api.powerbi.com/v1.0/myorg/groups/501a0a8a-6270-##$$2-9801-4964e#######/datasets"))
in
#"Source"

 

When I refresh I get below in the query editor. Can anyone plese help

 

apicall.PNG

 

 

 

 

 

 

 

 

3 REPLIES 3
amitchandak
Super User
Super User

Anonymous
Not applicable

Hi @amitchandak ,

 

I will try and let you know it this works and will accpect as a solutions. In the meantime if you have sometime you can direct me to more resources.

 

Thanks a lot champion 🙂

 

Anonymous
Not applicable

I am not a much of a techincal person to get hold of what is the code enviorment behind this, 

 

assumen that this is written in PowerQuery ??

 

var dashboards = await client.Dashboards.GetDashboardsInGroupAsync(GroupId);  (extracted from your pointed source @amitchandak 

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.