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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

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
Community Champion
Community Champion

@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

 

Anonymous
Not applicable

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
Community Champion
Community Champion

@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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.