Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
