Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Olá, pessoal!
Vocês sabem como posso eliminar valores de rank duplicados, conforme no exemplo abaixo?
No ranking, dois clientes estão ocupando a posição 14, porém, o cálculo que realizei considera o valor do faturamento, o que é diferente para cada um desses clientes. O DAX utilizado foi o seguinte:
Oi Luan, tudo bom?
Você conseguiu resolver? Eu estou tendo o mesmo problema.
Valores diferentes com o mesmo ranking
@LuanRamos , Try like this and check
Ranking =
RANKX(
ALLSELECTED(D_Cliente[Cliente]) //use the column name
,[Valor - Vendas Total]
)
For Rank Refer these links
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://www.youtube.com/watch?v=DZb_6j6WuZ0