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

Special holiday offer! You and a friend can attend FabCon with a BOGO code. Supplies are limited. 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
December Fabric Update Carousel

Fabric Monthly Update - December 2025

Check out the December 2025 Fabric Holiday Recap!

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.

Top Solution Authors
Top Kudoed Authors