Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
can someone help me converting my dax code to Custom column/M code in power query
Time =
Suppose the data is sorted by Rank
NewStep=Table.AddColumn(YourTable,"Time",Function.ScalarVector(Value.Type(each _),(t)=>let a=List.Buffer(YourTable[#"TableWithRank.ACTION_DATE"]) in List.Transform(List.Positions(a),each if _=0 then null else Duration.TotalMinutes(a{_}-a{_-1})))