cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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

@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
Microsoft
Microsoft

@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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.