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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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!:
The Definitive Guide to Power Query (M)

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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