Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Lyndon1
Advocate I
Advocate I

Add a column on Delta table using Notebook

Hi, 

if this is to drop a column, what do I do to add a column;

 

Lyndon1_0-1713420827074.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Lyndon1 
Thanks for using Fabric Community.
For dropping a column you can use below code:

vnikhilanmsft_0-1713423102324.png



vnikhilanmsft_1-1713423146692.png


For adding a column you can use below code:

vnikhilanmsft_2-1713423435037.png


Hope this helps. Please let me know if you have any further questions.

View solution in original post

6 REPLIES 6
Lyndon1
Advocate I
Advocate I

Than you @Anonymous 

Anonymous
Not applicable

Hi @Lyndon1 
Glad that I could help you in resolving the query. Please continue using Fabric Community for any help regarding your queries.

@Anonymous  Oh I will definely need a lot of help, especially with Notebooks and python as I'm very new to that. DataFlow Gen 2 I have mastered cos its power query which I used in excel long before Fabric came along

Anonymous
Not applicable

@Lyndon1 Please feel free to create a post whenever required. Will definitely do my best to help you and resolve the query.
Have a great day ahead 🙂

Anonymous
Not applicable

@Lyndon1 Please feel free to create a post whenever required. Will definitely do my best to help you and resolve the query.
Have a great day ahead 🙂

Anonymous
Not applicable

Hi @Lyndon1 
Thanks for using Fabric Community.
For dropping a column you can use below code:

vnikhilanmsft_0-1713423102324.png



vnikhilanmsft_1-1713423146692.png


For adding a column you can use below code:

vnikhilanmsft_2-1713423435037.png


Hope this helps. Please let me know if you have any further questions.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.