The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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.
Proud to be a Super User!
Solved! Go to Solution.
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)
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.
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)
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
79 | |
78 | |
44 | |
37 |
User | Count |
---|---|
157 | |
113 | |
64 | |
60 | |
55 |