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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

June Fabric Update Carousel

Fabric Monthly Update - June 2026

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