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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
pabloporto
New Member

undefined

Estou utilizando a função limpar para retirar os espaçamentos duplos entre os textos, porém essa função não está retirando os espamentos duplos. Alguém por gentileza poderia me ajudar? Desde ja, grato.

Função Limpar, não está limpando.png@PowerBI @PowerQuery Contenido de aprendizaje de Power BI  @comunidadepowerbi

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @pabloporto ,

I have created a simple sample. Please refer to my pbix to see if it helps you.

vpollymsft_0-1646188030898.png

 

 

= Table.ReplaceValue(#"Changed Type","  ","",Replacer.ReplaceText,{"name"})
= Table.ReplaceValue(#"Replaced Value","  ","",Replacer.ReplaceText,{"value"})

 

 

vpollymsft_5-1646189023167.png

Or another way is easier.

Right-click on the column to be edited and select Replace Values.

vpollymsft_0-1646189135345.png

 

Then replace the values.

vpollymsft_1-1646189135414.png

 

vpollymsft_2-1646189135417.png

 

 

 

 

If I have misunderstood your meaning, please provide your pbix file without privacy information and desired output.

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @pabloporto ,

I have created a simple sample. Please refer to my pbix to see if it helps you.

vpollymsft_0-1646188030898.png

 

 

= Table.ReplaceValue(#"Changed Type","  ","",Replacer.ReplaceText,{"name"})
= Table.ReplaceValue(#"Replaced Value","  ","",Replacer.ReplaceText,{"value"})

 

 

vpollymsft_5-1646189023167.png

Or another way is easier.

Right-click on the column to be edited and select Replace Values.

vpollymsft_0-1646189135345.png

 

Then replace the values.

vpollymsft_1-1646189135414.png

 

vpollymsft_2-1646189135417.png

 

 

 

 

If I have misunderstood your meaning, please provide your pbix file without privacy information and desired output.

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

amitchandak
Super User
Super User

@pabloporto , If that is double space, then use replace option replace double space with single (or none)

 

Power Query Replace Value: https://youtu.be/hkZhZbR7Kmk

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
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.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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