Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hey there
I'm trying to replace a text string in power query with power query's standard null value. However, whatever the text I try to replace with the null all I get is the same value all over (as show in the following image).
Why I do not simply replace it with ""? Because when I do so, I get two kind of blank values in my dataset:
I've came across with this post, but it does not fix my problem because I have to replace several values at once.
Do someone knows how to do that replacement?
Thanks in advance.
Solved! Go to Solution.
Hi, @Anonymous
The second part you mentioned is not empty. This means that you have at least one space character in your text.
If possible, you should first replace ' ' with '' as follows:
= Table.ReplaceValue(#"Renamed Columns"," ","",Replacer.ReplaceText,{"Column3"})
Best Regards,
Community Support Team _ Eason
Hi, @Anonymous
The second part you mentioned is not empty. This means that you have at least one space character in your text.
If possible, you should first replace ' ' with '' as follows:
= Table.ReplaceValue(#"Renamed Columns"," ","",Replacer.ReplaceText,{"Column3"})
Best Regards,
Community Support Team _ Eason
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |