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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Syndicate_Admin
Administrator
Administrator

Paste data from one column to another

Good morning

I want to pass data from one column to another column to be one, but I have not found the way or function to do it,

nnimatuj_0-1680023637095.png

What I need is for the WTG and WTG_1 columns to be one, for the values in the column to WTG_1 replace the null values.

I hope you can help me

Best regards

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

Good morning.

I used your proposal, but I get the next problem, the first 8 data in column WTG_1 are lied to and only added from row 9 onwards.

Best regards

@Syndicate_Admin 
Good Morning.  I don't understand what you mean when you say "lied to".

To ensure your syntax is correct, you can use the "Conditional Column" icon in the Add Column menu

rsbin_0-1680099554370.png

Regards,

rsbin
Super User
Super User

@Syndicate_Admin ,

Create a Custom Column, called something like WTG_Final using the Power Query IF function:

 

 

           if [WTG] = null
            then [WTG_1]
            else [WTG]

 

 

Hope this works for you.

Regards,

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.