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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Loveflora1229
New Member

Why can't I replace blank cells with null in PowerBI query

Dear all,

        I was following the step regarding replace blank cells with null but I don't understand why nothing changes? I will attach the screenshop below. Thank you. 

ps: there is indeed 'a space' in the 'value to find' section. 

 

Loveflora1229_0-1689930670569.png

 

1 ACCEPTED SOLUTION
Alf94
Solution Supplier
Solution Supplier

Hi @Loveflora1229 ,

 

Try not to put spaces in the "value to find" section. Does this work?

 

If I answered your question, please mark my post as a solution.

 

Best,

View solution in original post

3 REPLIES 3
Loveflora1229
New Member

thanks! that works!

watkinnc
Super User
Super User

Try using Replacer.ReplaceText instead of Replacer.ReplaceValue.

 

--Nate


I’m usually answering from my phone, which means the results are visualized only in my mind. You’ll need to use my answer to know that it works—but it will work!!
Alf94
Solution Supplier
Solution Supplier

Hi @Loveflora1229 ,

 

Try not to put spaces in the "value to find" section. Does this work?

 

If I answered your question, please mark my post as a solution.

 

Best,

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Kudoed Authors