Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
My data looks like the image below. I want, for example to convert "P.AZUCAR________220" into "P.AZUCAR 220 kV". Ideally to "P. Azucar 220 kV" (space after dot) but the first one will definetly be great.
Solved! Go to Solution.
Hi @dvhez,
on the query editor select the column right click then replace values replace the _ by nothing and redo the replace and do the 220 by " 220 kV"
this should give the expected result.
No need to split columns.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @dvhez,
Although your data is always 220 on the end of the column here is a formula to add the last 3 digits and kV to beginnin.
Column = LEFT(Table[Column];FIND("_";Table[Column];1)-1) & " " & RIGHT(Table[Column];3)& " kV"
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @dvhez,
on the query editor select the column right click then replace values replace the _ by nothing and redo the replace and do the 220 by " 220 kV"
this should give the expected result.
No need to split columns.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsI'm trying to do this in DAX though :(. My data has almost 60 million rows and it takes 1 hour aprox to apply changes to that specific query.
Hi @dvhez,
Although your data is always 220 on the end of the column here is a formula to add the last 3 digits and kV to beginnin.
Column = LEFT(Table[Column];FIND("_";Table[Column];1)-1) & " " & RIGHT(Table[Column];3)& " kV"
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCheck out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!