How to replace null values with custom values in Power BI power query editor

+3 votes

How to replace null values with custom values in Power BI(power query editor)?

Mar 8, 2019 in Power BI by Nithin
54,477 views

3 answers to this question.

+2 votes

Hi Nithin,

To fill or replace the null or any values, you can follow these steps.

1. Select the column that you want to fill or replace the values

2. Then click on transform tab 

3. Now you can select replace or fill.

  • If you select fill then the values in the field are either copied from up to down or vice-versa. (Preferred when the data of that column not highly important )
  • If you select replace then the following dialog box opens.

       

       You can now enter null values or different values that you want to replace and the replace with values.

       Click on advanced options to see below check boxes. to match full cell values then check on the box.

4. Now the values in the column are replaced.

Hope this helps you.

answered Mar 8, 2019 by Cherukuri
• 32,930 points
Thank you very much! Very clear, usefull info for a starter like me.
Glad to help!
Hello @Diego, please upvote @Cherukuri's answer if it has helped you.

Register at Edureka Community and get points for contributing(asking, answering and commenting).
0 votes

In my case:

Select the cell value you want to change(select null in this case) in Query Editor. 2. Click "Replace Values" option under Home tab. Then you should be able to change null to "Unspecified" 

The ISNULL Function is a built-in function to replace nulls with specified replacement values. To use this function, all you need to do is pass the column name in the first parameter and in the second parameter pass the value with which you want to replace the null value.

answered Dec 11, 2020 by Gitika
• 65,870 points
0 votes

In addition, have you tried the "Replace Values" option within Query Editor? It should also work.Smiley Happy

1. Select the cell value you want to change(select null in this case) in Query Editor.

c1.PNG

2. Click "Replace Values" option under Home tab. Then you should be able to change null to "Unspecified" like below.

r1.PNGr2.PNGr3.PNG

answered Dec 11, 2020 by Rajiv
• 8,880 points

Related Questions In Power BI

0 votes
3 answers

How to add an extra column to the existing table in power bi query editor?

Click on edit queries after loading source ...READ MORE

answered Dec 16, 2020 in Power BI by Roshni
• 10,420 points
18,390 views
0 votes
1 answer

How to demote Headers in Power BI query editor?

Hi, There are the steps which you can ...READ MORE

answered Feb 3, 2020 in Power BI by Jitesh
7,401 views
0 votes
0 answers

How to group rows in Power BI query editor?

Can someone explain the steps how can ...READ MORE

Feb 3, 2020 in Power BI by ggm
• 140 points
466 views
0 votes
3 answers

How to replace Blank with "0" in Power BI Visual?

so you are using the raw source ...READ MORE

answered Dec 15, 2020 in Power BI by Gitika
• 65,870 points
22,769 views
0 votes
1 answer

I have a web API with basic authorisation and username and password. How do i connect to it in Power BI?

Hey, @There, I found your query is quite ...READ MORE

answered Oct 29, 2020 in Power BI by Gitika
• 65,870 points
492 views
+1 vote
1 answer

Have column with multiple values in powerBI, for use with a slicer in power bi

It can be achieved depending on the result you ...READ MORE

answered Oct 22, 2018 in Power BI by Hannah
• 18,550 points
4,737 views
0 votes
1 answer

How to combine your data or tables in Power BI?

Power BI includes Query Editor which is ...READ MORE

answered Feb 27, 2019 in Power BI by Phalguni
• 1,020 points
922 views
0 votes
4 answers

How to combine multiple tables in power BI?

Click Advanced Editor and check if step #"Appended ...READ MORE

answered Dec 16, 2020 in Power BI by Roshni
• 10,420 points
18,609 views
0 votes
1 answer

How to Install Power BI in Windows

Hi, Anitha Go to this Link https://powerbi.microsoft.com/en-us/downloads/ Then click on ...READ MORE

answered Feb 28, 2019 in Power BI by Cherukuri
• 32,930 points
170 views
0 votes
3 answers

How to create final table based on Joins of two tables in power BI?

To do so, follow these steps: From the ...READ MORE

answered Dec 16, 2020 in Power BI by Gitika
• 65,870 points
15,660 views