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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Allan77R2V1
Helper II
Helper II

Replace a cell in one column if another columns cell equals something

I have the following two columns

Current State
Service TypeResource Type
SCM301FT101
SCM301GT101
SCM100FT101
SCM100HM500
SCM075KL102
SCM050KL102
SCM100KL103
GL200FT101

 

I want to do the following

If "Resource Type" = FT101 Then "Service Type" =  FX008, Else keep Service Type as is

 

Here is what I want to end up with

 

Desired State
Service TypeResource Type
FX008FT101
SCM301GT101
FX008FT101
SCM100HM500
SCM075KL102
SCM050KL102
SCM100KL103
FX008FT101

 

Any suggests on how to go about this? 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Allan77R2V1 Please create a calculated column desired service type as 

Desired Service Type = IF('Table'[Resource Type]="FT101","FX008",'Table'[Service Type])

Please let me know if you have any question. If it help accept as solution 

View solution in original post

3 REPLIES 3
Mariusz
Community Champion
Community Champion

Hi @Allan77R2V1 

 

You can do it in Power Query as an alternative.

Select Yor column, go to Transform Ribbon > Replace Values > Value to Find = FT101  and Replace with = FX008 then Click Close and Apply

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

 

Anonymous
Not applicable

@Allan77R2V1 Please create a calculated column desired service type as 

Desired Service Type = IF('Table'[Resource Type]="FT101","FX008",'Table'[Service Type])

Please let me know if you have any question. If it help accept as solution 

@Anonymous  worked perfectly, thanks so much.

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.

August 2025 community update carousel

Fabric Community Update - August 2025

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