Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered
Modify Command is not available, so how can we modify column type in existing table?
Solved! Go to Solution.
My case is different, I am copying multiple tables in single copy activity and I found a solution as well.
Alter Table_Name alter Column_Name column type constrain.
Hi @Murtaza_Ghafoor ,
Thanks for the reply from lbendlin .
It looks like you have found a solution. Could you please mark this helpful post as “Answered”?
This will help others in the community to easily find a solution if they are experiencing the same problem as you.
I offer another method for your consideration. You can change the type of columns in Data Wrangler.
First, run this code in notebook to load the data using the Spark API.
df = spark.read.format(“csv”).option(“header”, “true”).load(“Files/orders/2019.csv”)
# df now is a Spark DataFrame containing CSV data from “Files/orders/2019.csv”.
display(df)
After running it select Data Wrangler.
Select schema>>Change Column Type under Data Wrangler.
Select the columns you want to change and the type you want to change, and finally click Apply.
If you have any other questions please feel free to contact me.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
My case is different, I am copying multiple tables in single copy activity and I found a solution as well.
Alter Table_Name alter Column_Name column type constrain.
Hi @Murtaza_Ghafoor how have you altered the column data type? If you do this, you will likely break the metadata sync to the Lakehouse SQL Endpoint as altering columns and changing data types is not supported for scenarios where the lakehouse delta tables need to syncronise with the sql endpoint.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.
User | Count |
---|---|
50 | |
28 | |
14 | |
14 | |
4 |
User | Count |
---|---|
65 | |
59 | |
23 | |
8 | |
7 |