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
Anonymous
Not applicable

Calculated Column

Hi Experts,

 

First, I have split the column personname in query editor and wrote some logic on it. is it possible to import same coulmn(personame) from Db

 

 

Secondly,I want to write an If condition and need to create a separate column based on this condition

 

Eg;

 

Person               condition column(If person is not null then Name else Other)

aa                                Student

bb                                Student

null                               Others

cc                                 Student

dd                                Student

null                               Others

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous 

 

1. You can just duplicate the original "personname" column in Query Editor, then wrote logic on the copy.

2. 

 

Calculated Column  = IF([Person] = BLANK(), "Others",[Person])

 

 

Paul Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@Anonymous 

 

1. You can just duplicate the original "personname" column in Query Editor, then wrote logic on the copy.

2. 

 

Calculated Column  = IF([Person] = BLANK(), "Others",[Person])

 

 

Paul Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

az38
Community Champion
Community Champion

@Anonymous 

it looks easy

Column = if([Person] = "null", "Other", [Person])

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI 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.