Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
Is it possible to write a query that extracts all column names and datatype for a table in Power BI?
Desired output is a table with two columns, columnname and datatype.
Solved! Go to Solution.
Yes. Please see the Table.Schema function.
Table.Schema - PowerQuery M | Microsoft Learn
Pat
Is it possible to get it for all the tables at the same time?
Yes. Please see the Table.Schema function.
Table.Schema - PowerQuery M | Microsoft Learn
Pat
Check out the July 2025 Power BI update to learn about new features.