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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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 Employee
Microsoft 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
Microsoft Employee
Microsoft 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors