The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance 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