Hi,
I'm trying to figure out a formula that would give me the minium price given the same item ID. See below:
So far, I can only bring the minimum price in the table with this code:
let
Source = Source,
AddCustom = Table.AddColumn(Source, "Custom", each List.Min(Source[Price]))
in
AddCustom
Thank you for the help
I'm trying to figure out a formula that would give me the minium price given the same item ID. See below:
ID | Price | Min Price |
A1 | 162 | 162 |
A1 | 364 | 162 |
A1 | 174 | 162 |
A2 | 295 | 149 |
A2 | 359 | 149 |
A2 | 149 | 149 |
A3 | 430 | 5 |
A3 | 124 | 5 |
A3 | 5 | 5 |
A3 | 126 | 5 |
So far, I can only bring the minimum price in the table with this code:
let
Source = Source,
AddCustom = Table.AddColumn(Source, "Custom", each List.Min(Source[Price]))
in
AddCustom
Thank you for the help