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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

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
April Fabric Update Carousel

Fabric Monthly Update - April 2026

Check out the April 2026 Fabric update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.