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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Make a calculated column from a non-blank of another column

Hi, I need help in making a calculated column which extracts the non blank value from different columns. Sample is below, C1-C5 are existing columns and the calculated column should reflect the non blank values from C1-C5.

burrito_0-1710142276520.png

 

1 ACCEPTED SOLUTION
tharunkumarRTK
Super User
Super User

@Anonymous 

Instead of cerating calculated column, you can merge all 5 columns into one in Power Query. 

Multi select all 5 columns and in the right click menu you should see merge option.

 


If the post helps please give a thumbs up


If it solves your issue, please accept it as the solution to help the other members find it more quickly.


Tharun

 

View solution in original post

4 REPLIES 4
qqqqqwwwweeerrr
Super User
Super User

Hi @Anonymous 

 

you can use this function 

get_value = COALESCE(Sheet[column_name],Sheet[column_name],Sheet[column_name])
 
qqqqqwwwweeerrr_0-1710142798889.png

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Check for more interesting solution here: www.youtube.com/@Howtosolveprobem

Regards

tharunkumarRTK
Super User
Super User

@Anonymous 

Instead of cerating calculated column, you can merge all 5 columns into one in Power Query. 

Multi select all 5 columns and in the right click menu you should see merge option.

 


If the post helps please give a thumbs up


If it solves your issue, please accept it as the solution to help the other members find it more quickly.


Tharun

 

Anonymous
Not applicable

Hi, I have a follow up question. What if there are rows wherein there are values on two columns of that rows but the values are the same, I only want one value to show when I merge it. How do I do it?

Anonymous
Not applicable

This actually did the trick, thank you!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors