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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.