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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
MohsinBipu
Helper I
Helper I

Populate Merge data based on unique Column value

Hello mate,

I need your kind help.  As per the below picture, I want to get the Output table from input unstructured data.  Here you can see the value will fill down based on the PO number. 

I want to do this with Fill down. This option fills down for other POs like B, and D. But I want Value will be filled down based on PO number only. 

MohsinBipu_0-1710399714195.png

 

1 ACCEPTED SOLUTION
Vijay_A_Verma
Super User
Super User

Use below code. Replace Source appropriately.

let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Filled Down" = Table.FillDown(Source,{"PO"}),
    #"Grouped Rows" = Table.Combine(Table.Group(#"Filled Down", {"PO"}, {{"All", each Table.FillDown(_,{"Value"})}})[All])
in
    #"Grouped Rows"

 

View solution in original post

1 REPLY 1
Vijay_A_Verma
Super User
Super User

Use below code. Replace Source appropriately.

let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Filled Down" = Table.FillDown(Source,{"PO"}),
    #"Grouped Rows" = Table.Combine(Table.Group(#"Filled Down", {"PO"}, {{"All", each Table.FillDown(_,{"Value"})}})[All])
in
    #"Grouped Rows"

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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