Hi @Learner DAX
It's not really clear to me if you're after a Power Query of Power Pivot solution... Assuming it's Power Query and with the table you exposed:
let
......,
PreviousStepName = ...,
GroupedRows = Table.Group(PreviousStepName, {"ColumnA"},
{"GRP_ColA", (t)=>
Table.RemoveColumns(
Table.SelectRows(
Table.AddColumn(t, "IsMax", each
[Value] = List.Max(Table.Column(t,"Value")),
type logical
),
each [IsMax]
),
{"IsMax"}
),
type table
}
),
CombinedNestedTables = Table.Combine(GroupedRows[GRP_ColA])
in
CombinedNestedTables
Any question please let me know and if this solves your problem please mark this reply as answer to help others with a similar scenario. Thanks in advance & Nice day...
EDIT A sample is available here