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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
emafiorito
New Member

Help - Creare la colonna "Risultato finale" con power query partendo dalla colonna "Dati"

Salve.

Qualcuno sa dirmi come faccio con power query a partire dalla colonna "Dati" per avere la colonna "Risultato finale"?

Vi ringrazio anticipatamente di cuore!

Saluti!

Emanuele

TEST.JPG

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

There is a standard function called "Fill Down".

 

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WcvV19At19XFVitWJVtLCQfo6hoS4+mMI+3k6+/s4Ygi7ubq4BgGl8BoJJGMB", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Dati = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Dati", type text}}),
    #"Replaced Value" = Table.ReplaceValue(#"Changed Type","*",null,Replacer.ReplaceValue,{"Dati"}),
    #"Filled Down" = Table.FillDown(#"Replaced Value",{"Dati"})
in
    #"Filled Down"

How to use this code: Create a new Blank Query. Click on "Advanced Editor". Replace the code in the window with the code provided here. Click "Done".

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

There is a standard function called "Fill Down".

 

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WcvV19At19XFVitWJVtLCQfo6hoS4+mMI+3k6+/s4Ygi7ubq4BgGl8BoJJGMB", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Dati = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Dati", type text}}),
    #"Replaced Value" = Table.ReplaceValue(#"Changed Type","*",null,Replacer.ReplaceValue,{"Dati"}),
    #"Filled Down" = Table.FillDown(#"Replaced Value",{"Dati"})
in
    #"Filled Down"

How to use this code: Create a new Blank Query. Click on "Advanced Editor". Replace the code in the window with the code provided here. Click "Done".

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

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