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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Robert14358
Resolver III
Resolver III

Extract datasources from a PBI File

Is there anyway to get a file extract from a PBI file that shows all the datasources used in that file?

 

for example if im using the customer table and the sales table, when i extract that list from somewhere, it should say these 2 tables.

1 ACCEPTED SOLUTION
alish_b
Resolver II
Resolver II

Hi @Robert14358 ,

 

You should be able to get this information from DAX Studio. Just connect to your report model and run one of the following queries as per your requirement:
1.   SELECT * FROM $SYSTEM.TMSCHEMA_TABLES
To get the names of all tables as they appear in the report and other general info related to them (such as Hidden, ModifiedTime, etc.)
2. SELECT * FROM $SYSTEM.TMSCHEMA_PARTITIONS
This should give you the tables along with the source query and other detailed information.

Hope it helps!

View solution in original post

6 REPLIES 6
v-tejrama
Community Support
Community Support

Hi @Robert14358 ,
Thanks for reaching out to the Microsoft fabric community forum.

 

Absolutely, you can totally get a list of all the data sources and tables in a Power BI file without having to open every single query. I’ve had clients ask about this too like if their report pulls a Customer table from Excel and a Sales table from SQL Server, they just want a quick way to see what’s connected.

 

The simplest way is to use Query Dependencies in Power BI Desktop. Just hit Transform Data, then go to View and select Query Dependencies. You’ll see a visual map of how everything links together and where the data’s coming from. Hover over each source to check if it’s Excel, SQL Server, SharePoint, or something else.

 

If you want to look deeper, DAX Studio lets you see all the tables in the model though it won’t show the original source. For detailed stuff like connection strings or source paths, tools like Tabular Editor, ALM Toolkit, or pbi-tools are super handy.

 

Thank you.

 

 

Hi @Robert14358 ,

 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.

Thank you.

Hi @Robert14358 ,

 

I hope the information provided above assists you in resolving the issue. If you have any additional questions or concerns, please do not hesitate to contact us. We are here to support you and will be happy to help with any further assistance you may need.

Thank you.

 

Hi @Robert14358 ,

 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.

Thank you.

alish_b
Resolver II
Resolver II

Hi @Robert14358 ,

 

You should be able to get this information from DAX Studio. Just connect to your report model and run one of the following queries as per your requirement:
1.   SELECT * FROM $SYSTEM.TMSCHEMA_TABLES
To get the names of all tables as they appear in the report and other general info related to them (such as Hidden, ModifiedTime, etc.)
2. SELECT * FROM $SYSTEM.TMSCHEMA_PARTITIONS
This should give you the tables along with the source query and other detailed information.

Hope it helps!

danextian
Super User
Super User

In Desktop, you can use the Performance Analyzer to get the DAX query being used by a visual which should show the measures and the columns being used as well as their source table. Other than this, you'll have to be in Edit mode and inspect what columns are being used. Of course, these options are not avaible to the end users of your reports.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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