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

View all the Fabric Data Days sessions on demand. View schedule

Reply
ALbaKatBall
New Member

messy columns

Hi there, sorry for the screen shots I couldn't tell how to attach my bi file. I need to combine data that shifts from one column to another. In excel I could just delete manually the blank cells between the data until everything lined up but I'm hoping there is an easier way to do this in power query or power bi. 

I've been researching and searching for this question being answered across all platforms for several hours with no luck. 

I want to combine column 2 and column 3 so that it shows as one column labelled 'Rooms' and has the number '210' all the way down the column. 

Thanks in advance! 

 

ALbaKatBall_0-1636343120820.png

ALbaKatBall_1-1636343144848.png

 

 

1 ACCEPTED SOLUTION
VijayP
Super User
Super User

@ALbaKatBall 

Immediate easy way is creating a new custom column

Go to Add Column Tab and select custom column

in the custom column formula section 

if [Column2] = "" then [Column3] else [column2]

This gives you a column containing all room numbers together

Hope it helps!




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


View solution in original post

2 REPLIES 2
ALbaKatBall
New Member

Thank you so much! So simple! 

VijayP
Super User
Super User

@ALbaKatBall 

Immediate easy way is creating a new custom column

Go to Add Column Tab and select custom column

in the custom column formula section 

if [Column2] = "" then [Column3] else [column2]

This gives you a column containing all room numbers together

Hope it helps!




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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!

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