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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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