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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
LWBB
New Member

Filling in the Blanks

Hi, 

I have a few excel tables that contains data that's been extracted from a source. Sometimes that excel data has BLANKS. Is it possible to fill in those blanks with data that has been 'looked up' from else where?

 

LWBB_0-1704448682055.png

For example Can the first blank in Column Section Descr look up S1_ from Section column and then fill in the blank with the description? its the same for the next 2 columsn Location and Location Descr.

I don't mind doing a Lookup for the whole column rather than individual cells.

Thank you

 

1 ACCEPTED SOLUTION
AnkitKukreja
Super User
Super User

Hi @LWBB 

 

You can use Merge query and achieve this. Merge Queries. 

 

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904

View solution in original post

3 REPLIES 3
LWBB
New Member

Thank you both. I did it slightly different to get the results I needed but I did use the Merge column. Thanks again. 

AlienSx
Super User
Super User

Hello, @LWBB if I understood your message correctly, you want each unique combination of Section and Location to have the same (non blank) descriptions. You can do that by grouping data by Section and Location while don't aggregate any other columns but use "All Rows" option. Then apply Table.FillUp and Table.FillDown to Section Descr and Location Descr columns of your tables. Smth like this:

 

let
    Source = your_table,
    g_columns = {"Section", "Location"}, 
    descr = {"Section Descr", "Location Descr"},
    e_columns = List.RemoveItems(Table.ColumnNames(Source), g_columns),
    g = Table.Group(
        Source, g_columns,
        {"groups", each 
            Table.FillDown(
                Table.FillUp(_, descr),
                descr)}
    ),
    expand = Table.ExpandTableColumn(g, "groups", e_columns)
in
    expand

 

 

AnkitKukreja
Super User
Super User

Hi @LWBB 

 

You can use Merge query and achieve this. Merge Queries. 

 

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.