Excel BI Challenge Workout 189

LinkedIn post by:
Hussein SATOUR

Thank you Excel BI

=LET(n,A2:A20,MAP(n,LAMBDA(x,COUNTIF(x:TAKE(n,-1),">"&x))))

LinkedIn Post by:
Guillermo Arroyo

=MAP(A2:A20,LAMBDA(a,SUM(--(a:A20>a))))

LinkedIn Post by:
Liz Larsen, P.E.

=BYROW(A2:A20,LAMBDA(x,COUNTIF(x:A20,">"&x)))

LinkedIn post by:
Caroline Blake

=BYROW(A2:A20,LAMBDA(x,SUM(--(x:A20>x))))

LinkedIn Post by:
Alejandro Simón

adjunto otra query, utilizando funciones de listas…

let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
Sol = List.Transform({0..List.Count(Source[Numbers])-1}, each
let
a = List.Skip(Source[Numbers], _),
b = Source[Numbers]{_},
c = List.Difference(a,{ b}),
d = List.Count([List.Select](http://list.select/)(c, each _ > b))
in d)
in
Sol

LinkedIn post by:
Abdul Said M K.

Forgive my Non-Elegant solution :joy::joy::joy:

=COUNTIF($A$2:$A$20,">" & A2) then fill-down