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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
aausten22
Helper I
Helper I

Transforming Data based off another Column

Hi There, 

 

Not sure if this has already been posted about though cannot find what I am looking for.

 

Wanting to transform the data where the null turns into text, though I am needing to add the value fo another column in the front of it so instead of being "null" it would become "Column a" + "null transformed".

 

For example the null will be changed to Director's Office and Column A would be ABC - so it would be transformed to "ABC Director's Office"

 

Here is the current formula:

 

= Table.ReplaceValue(#"Changed Type1",null,"Director's Office",Replacer.ReplaceValue,{"Group/Team"})

 

2 REPLIES 2
aausten22
Helper I
Helper I

Thanks for the reply!

 

What I'm needing to do is add the value of Column A to the front of "Director's Office"

 

I have tried using & inbetween them though the error is with Column A as it is a custom column

amitchandak
Super User
Super User

@aausten22 , based on what I got

 

if you need a new column in the power query

if [Group/Team] = null then "Director's Office" else [Group/Team] 

 

you can use else if and use Text.Replace as per need

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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