I would like to achieve this effect
Now my question is how to transform? solution to group data by date but I don't know what to do next, unfortunately I still lack the skills.
I would be very grateful for your help in solving this problem.
= Table.Group(#"Changed Type", {"Date"}, {{"Product", each if [Product] <> {null} then [Product] else null}}})
Key here is you need to replace a null list with just null so you can fill down.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMtQ31DcyUdJRMlSK1QFxjSBcKM8YwjNC5RpDuSYoak1ReGYQngmUaw6TjAUA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Date = _t, Product = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Date", type date}, {"Product", Int64.Type}}),
#"Grouped Rows" = Table.Group(#"Changed Type", {"Date"}, {{"Product", each if [Product] <> {null} then [Product] else null}}),
#"Filled Down" = Table.FillDown(#"Grouped Rows",{"Product"}),
#"Expanded Product" = Table.ExpandListColumn(#"Filled Down", "Product")
in
#"Expanded Product"