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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Fill blank rows with the top row value

Hello all,

 

I have a table with column name identity number. Here , if a id number for few columns/rows are same, it will just have top row value and all down will be blank as their value is also same. so, in power bi i want this blanl values to be filled with top latest row value. 

 

sample data:

 

Id No;
1

5

8

 

 

9

 

10

 

So blank values to be filled with respective top most data.

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

Only when the value is "null" can use "Fill Down" feature:

n15.PNGn16.PNG

 

"by the way, my blank rows are as just blank , not null"

So, you need to do like this:

First, replae blank with "null";

n17.PNG

Second, Fill down

n18.PNG

 

Best regards,
Lionel Chen

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

7 REPLIES 7
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

Here's my sample data:

h7.PNG

Then, I use "Fill Down" feature:

h8.PNGh9.PNG

 

Is this what you want?

If not, please give a more complete sample data.

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

Anonymous
Not applicable

@v-lionel-msft iam trying the same, why iam unable to do so...by the way, my blank rows are as just blank , not null

Hi @Anonymous ,

 

Only when the value is "null" can use "Fill Down" feature:

n15.PNGn16.PNG

 

"by the way, my blank rows are as just blank , not null"

So, you need to do like this:

First, replae blank with "null";

n17.PNG

Second, Fill down

n18.PNG

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Blank and null are two very different things.  Your 'blank's are most likely a non visible character like a space.  So first you would have to replace those with null and then do the fill down.

Greg_Deckler
Super User
Super User

In Power Query, use the Fill Down feature on the column.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

@Greg_Deckler I can't see such feature in query editor. can you please provide the path

Anonymous
Not applicable

Fill down option not working

 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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