Forum Discussion
Power Query: Filter for lowest value for each entry
- 3 years ago
- Anonymous3 years agoNot applicable
Thanks!
What I ended up doing in the meantime is create a separate column in Excel, filling it with an "X" using the minifs() function. I will try to implement your solution since it is more elegant doing it in the Query and report back in case I can't get it to work.
- KEO462 years agoHelper I
I am trying to use the formual you provided in power query (which I am new too) to filter each row in the table by the value, "Consignment_Event__c" to locate the lowest number for the column "SH#" that is formated as a whole number.
Here is what the table looks like with all the assocated SH# to the Consignment Event in one table. I need to locate the lowest SH# for each Consignment Event.
Id Consignment_Event__c Order_Recordtype__c SH Duplicates SH# a8H0a00000002xrEAA a7m0a000002mECuAAM 0120a0000019Ubi SH-00051238 00051238 a8H0a00000002xsEAA a7m0a000002mEBwAAM 0120a0000019Ubj SH-00051239 00051239 a8H0a00000002xtEAA a7m0a000002mDroAAE 0120a0000019Ubj SH-00051240 00051240 a8H0a00000002xuEAA a7m0a000002mBlyAAE 0120a0000019Ubk SH-00051241 00051241 a8H0a00000002xvEAA a7m0a000002mBlyAAE 0120a0000019Ubk SH-00051242 00051242 a8H0a00000002xwEAA a7m0a000002mDxhAAE 0120a0000019Ubj SH-00051243 00051243 a8H0a00000002xxEAA a7m0a000002mDxhAAE 0120a0000019Ubj SH-00051244 00051244 a8H0a00000002xyEAA a7m0a000002mE03AAE 0120a0000019Ubj SH-00051245 00051245 I am getting an error, "Expression.SyntaxError: Invalid Identifier." with the below formula. Since I am new to Power Query Editor I am not sure where the error is.