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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
AnthonyTilley
Solution Sage
Solution Sage

Table List and Field List

Does anyone know a way to export a list of each table and its fields along with meta data such as data type etc from the power BI model.

 

I have a large data model with some 40 tables and hundreds of fields including a lot of calcualted colunms and measures. i would like to eport a list of all of the fields so that i can begin working a data dictionary. im looking for the best way to extract this infomration

 

alternativly is there any tool that i can connect directly to the data model in power bi and build a data dictionary.





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

Proud to be a Super User!




1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

DAX Studio.  You can use the DMV's like

 $SYSTEM.DBSCHEMA_COLUMNS

to get this type of info.

 

You can use SQL Server also (you can get the server name from DAX studio - to connect)

View solution in original post

2 REPLIES 2
mTalha_Khan
New Member

you also make inforamation Schema table by using "Table.Schema(TableName)".

steps for multiple tables:

// Create a blank query in power Query editor
// open the Advance editor and paste the script.
// update the tables name and save.

let
Source = Table.Schema(fristTable),
CustomColumn_Table1 = Table.AddColumn(Source, "QueryName", each "fristTable"),
secondTable_schema=Table.Schema(secondTable),
customColumn_Table2 = Table.AddColumn(secondTable_schema, "QueryName", each "secondTable"),
Final_Table = Table.Combine({CustomColumn_Table1 ,customColumn_Table2 })
in
Final_Table

 

Note: For 2 or more tables repeat the steps under the "let" and put final output variable after "in" label.

 

HotChilli
Super User
Super User

DAX Studio.  You can use the DMV's like

 $SYSTEM.DBSCHEMA_COLUMNS

to get this type of info.

 

You can use SQL Server also (you can get the server name from DAX studio - to connect)

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.