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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Fill Out Values In Power Query

Hi,

I have a dataset with null values for Project name below it's first appearance. For example:

ProjectValue1Value2
A423
 42435
 523
 5467
 4563
 67
B45634
 2346
 43
 34637
 25724
 54726
 5434
 553
 6435
 2325
 5632
C546
 77
 24575

I want to fill out everything below the Project name until a new name is encountered:

ProjectValue1Value2
A423
A42435
A523
A5467
A4563
A67
B45634
B2346
B43
B34637
B25724
B54726
B5434
B553
B6435
B2325
B5632
C546
C77
C24575

 

Any ideas on how I can approach this?

2 ACCEPTED SOLUTIONS
lkalawski
Super User
Super User

Hi @Anonymous 

In the Power Query editor, you need to right click on the Project column and choose Fill Down.

lkalawski_0-1600293695496.png



_______________
If I helped, please accept the solution and give kudos! 😀

View solution in original post

edhans
Super User
Super User

Hi @Anonymous 

It depends. Your data needs to look like the below first:

edhans_0-1600295101540.png

You'll notice that the data in column [Project] is null. If it is, then do as @lkalawski recommends. Just right-click on the Project Column, Fill, and Down.

 

If it is not null though, you need to replace the stuff there with null. So right-click on the [Project] column and select Replace Values. You have two things to try easily:

  1. Leave the Find box blank and put the word null in the 2nd box with no quotes. This will replace "" with null.
  2. Put a space in the Find box and null in the 2nd box. This will replace a space with null. 

if that doesn't work, you'll need to figure out what is truly in that first column. The Fill Down/Up is a great feature, but it only works with nulls.

 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

2 REPLIES 2
edhans
Super User
Super User

Hi @Anonymous 

It depends. Your data needs to look like the below first:

edhans_0-1600295101540.png

You'll notice that the data in column [Project] is null. If it is, then do as @lkalawski recommends. Just right-click on the Project Column, Fill, and Down.

 

If it is not null though, you need to replace the stuff there with null. So right-click on the [Project] column and select Replace Values. You have two things to try easily:

  1. Leave the Find box blank and put the word null in the 2nd box with no quotes. This will replace "" with null.
  2. Put a space in the Find box and null in the 2nd box. This will replace a space with null. 

if that doesn't work, you'll need to figure out what is truly in that first column. The Fill Down/Up is a great feature, but it only works with nulls.

 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
lkalawski
Super User
Super User

Hi @Anonymous 

In the Power Query editor, you need to right click on the Project column and choose Fill Down.

lkalawski_0-1600293695496.png



_______________
If I helped, please accept the solution and give kudos! 😀

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors