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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
BigMoo
Frequent Visitor

Get all data table from API

Hello, I want to automatically get all the sources used in my differents published dashboards.
When i use the API to get the sources from one dashboard i can only see the tables which are in its semantic model.
In lots of dashboards I have some tables which are not loaded in the semantic model but provide datas to other tables which are in the semantic model.

I'd like to know if there is a way to get "all" the data tables via an API (all the tables one can see when he opens power query in PowerBi desktop)

 

Thx, in advance.

2 REPLIES 2
Anonymous
Not applicable

Hi @BigMoo ,

Based on your description, you can use the Datasets GetTables API call that can list tables in a given dataset, but it has limitations and may not include all tables, especially those that are not in the semantic model.

Push Datasets - Datasets GetTables - REST API (Power BI Power BI REST APIs) | Microsoft Learn

You can also get the table through dax studio using something like the DMV statement

Solved: Table List and Field List - Microsoft Fabric Community
You can refer to the following documents for detailed information

How to get a tables list from datasets published w... - Microsoft Fabric Community

 

Best regards,
Albert He


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Hello,

 

We allready use the rest API and indeed, we have only the tables loaded in the semantic model.

I tried the solution with Dax Studio (even if it's not possible to automate this solution) and the problem is the same : only semantic model.

To explain our context, we opened our pbi server to self analytics and we want to track automatically all the data sources used in the each published dashboards. It happens quite often that people loads data in power query tables then merge thoses tables in another table. Only the last table we'll be in the semantic model and we lose track of the original data sources...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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