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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply

Remove same text within a column

I think I'm just having a hard time wording what I'm trying to do.  We have record types that all start with "Service Onboarding" but on my visualizations I think this is redundant so I would like to remove that verbage.  However, not all of the record types are the same.  So I basically need a formula that will remove just "Service Onboarding" from the record type name.

 

I know you can do this in excel, but I'm having trouble finding the same functionality in Power BI.

Service Onboarding.JPG

2 ACCEPTED SOLUTIONS
vanessafvg
Super User
Super User

@SaganBigRedDog in power query do a replace values (in the transform tab) with nothing

 

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




View solution in original post

v-caliao-msft
Microsoft Employee
Microsoft Employee

@SaganBigRedDog,

 

Two DAX expression which can acheive this requirement for you reference.
Column = REPLACE(Table1[RecordType],1,19,"")

Column 2 = MID(Table1[RecordType],20,LEN(Table1[RecordType])-19)

Capture.PNG

 

Regards,

Charlie Liao

 

View solution in original post

3 REPLIES 3
v-caliao-msft
Microsoft Employee
Microsoft Employee

@SaganBigRedDog,

 

Two DAX expression which can acheive this requirement for you reference.
Column = REPLACE(Table1[RecordType],1,19,"")

Column 2 = MID(Table1[RecordType],20,LEN(Table1[RecordType])-19)

Capture.PNG

 

Regards,

Charlie Liao

 

Why can't you just use "Replace values"?  Meaning why doesn't this work?  It would seem simple enough you would think like Excel values.

vanessafvg
Super User
Super User

@SaganBigRedDog in power query do a replace values (in the transform tab) with nothing

 

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.