The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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
Solved! Go to Solution.
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.
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.
User | Count |
---|---|
6 | |
3 | |
3 | |
2 | |
2 |
User | Count |
---|---|
9 | |
7 | |
6 | |
5 | |
4 |