Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Olá
No primeiro cenario da imagem abaixo, o rank está em ordem decrescente, porem preciso que fique em ordem crescente. Fiz a alteração de DESC para ASC, mas o resultado ficou errado no segundo cenario.
PBIX aqui
Solved! Go to Solution.
Please try this expression instead.
Ranq =
VAR thisChamadas =
MIN( fTabela[ID_Chamadas] )
VAR sameTelefone =
CALCULATETABLE(
VALUES( fTabela[ID_Chamadas] ),
ALL( fTabela ),
VALUES( fTabela[Telefone] )
)
VAR result =
RANKX( sameTelefone, fTabela[ID_Chamadas], thisChamadas, asc )
RETURN
result
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Please try this expression instead.
Ranq =
VAR thisChamadas =
MIN( fTabela[ID_Chamadas] )
VAR sameTelefone =
CALCULATETABLE(
VALUES( fTabela[ID_Chamadas] ),
ALL( fTabela ),
VALUES( fTabela[Telefone] )
)
VAR result =
RANKX( sameTelefone, fTabela[ID_Chamadas], thisChamadas, asc )
RETURN
result
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
95 | |
80 | |
67 | |
62 |
User | Count |
---|---|
146 | |
110 | |
107 | |
86 | |
63 |