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

60 Days of Data Days! Live and on-demand sessions, challenges, study groups and more! And it's all FREE!. Join now. 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

June Fabric Update Carousel

Fabric Monthly Update - June 2026

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