Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi Everyone,
I have one doubt in the Power Query editor: is there any option available for changing the column datatype automatically based on the column value?
I know that we use a conditional column to reach the goal. Apart from that, are there any keys?
Thanks in advance..!
Solved! Go to Solution.
Hi @Vallirajap,
There is an option to change a column's data type automatically. It is located on the Transform tab and called "Detect Data Type". However, there is a caveat: because it only scans the top 200 rows, you will always have to validate that it guessed the types correctly...
Read all about it here.
I hope this is helpful
Hi @Vallirajap,
There is an option to change a column's data type automatically. It is located on the Transform tab and called "Detect Data Type". However, there is a caveat: because it only scans the top 200 rows, you will always have to validate that it guessed the types correctly...
Read all about it here.
I hope this is helpful
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!