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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
kmob
Regular Visitor

Get Dataset table columns information

Hi,

 

It is possible with PowerBI API to get columns of a table with all the fields and data type?

 

e.g. with the GET htps://api/powerbi.com/v1.0/myorg/datasets/ID/tables I get the json that looks something like this
"value":[{ "name": "product"}], but what I really  need is json that contains table name but also all the colums fiels with the corresponding data type.

 

How to make this?

Is it possible?

 

Thank you

1 ACCEPTED SOLUTION
Eric_Zhang
Employee
Employee

@kmob

 

According to the BOL: Get Datasets and my test, as of now, there's no way to get that detailed information. so far, you can only get the dataset ID and Name.

However, I've noticed there is a preview Dataset properties, which contains the metadata info as you required. So I guess it might be possible in feature API release. You can just wait or vote up this idea View model metadata (tables, relationships, columns, measures) for all models across a tenant.

 

View solution in original post

1 REPLY 1
Eric_Zhang
Employee
Employee

@kmob

 

According to the BOL: Get Datasets and my test, as of now, there's no way to get that detailed information. so far, you can only get the dataset ID and Name.

However, I've noticed there is a preview Dataset properties, which contains the metadata info as you required. So I guess it might be possible in feature API release. You can just wait or vote up this idea View model metadata (tables, relationships, columns, measures) for all models across a tenant.

 

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.