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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Combining Two Columns into One

Hey guys,

I've got two seperate columns containing "hour registration codes".
These two columns should be transformed into one.
If Column A (Ontvanger) is Null, the code is available in Column B (Aan/afw).

LaZZaNoVa61_0-1655107338427.png

 


If Column B is Null, the code is available in Column A.

LaZZaNoVa61_1-1655107360783.png

 





I thought I could fix this concatenating the two columns in Power Query.

LaZZaNoVa61_2-1655107514640.png

 


The result was exactly the same as Column A though.
Any ideas on how to fix this? 

With kind regards,

Lazzanova


1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

NewStep=Table.AddColumn(PreviousStepName,"Concatenate",each List.RemoveItems({[Column A],[Column B]},{"",null}){0}?)

View solution in original post

1 REPLY 1
wdx223_Daniel
Super User
Super User

NewStep=Table.AddColumn(PreviousStepName,"Concatenate",each List.RemoveItems({[Column A],[Column B]},{"",null}){0}?)

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.