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.
I need help to create a rank column that considers the alert column and the alert date
Data table attached.
Yellow fields used in the rank criteria and green column the required result.
🙂
What I have done so far does not work for me, I attach it in case someone can correct me
-- no funciona todo queda en 1
RANKX(ALLSELECTED(CONCLUSION[ALERTA], CONCLUSION[FECHA_ALERTA], CONCLUSION[RESPONSABLE], CONCLUSION[PROBLEMA]), LASTDATE(CONCLUSION[FECHA_ALERTA]))
-- no funciona todo queda en 1
RANKX(
FILTER(CONCLUSION,
CONCLUSION[ALERTA]=EARLIER(CONCLUSION[ALERTA])
&& CONCLUSION[FECHA_ALERTA]=EARLIER(CONCLUSION[FECHA_ALERTA])
&& CONCLUSION[PROBLEMA]=EARLIER(CONCLUSION[PROBLEMA])
&& CONCLUSION[RESPONSABLE]=EARLIER(CONCLUSION[RESPONSABLE]))
, CONCLUSION[FECHA_ALERTA], ,ASC,Skip)
-- funciona ok, pero no agrupa por alerta
RANKX(
ALL(
CONCLUSION[ALERTA]
, CONCLUSION[FECHA_ALERTA]
, CONCLUSION[PROBLEMA]
, CONCLUSION[RESPONSABLE])
, CONCLUSION[FECHA_ALERTA], ,DESC,Skip)
-- funciona ok, pero no agrupa por alerta
RANKX(CONCLUSION, LASTDATE(CONCLUSION[FECHA_ALERTA]))
I managed to create a measure, but it does not work for me to use it as a page filter
attached as it works
🙂
Rank_FechaAlerta = RANKX(ALLSELECTED(CONCLUSION[ALERTA], CONCLUSION[FECHA_ALERTA], CONCLUSION[RESPONSABLE], CONCLUSION[PROBLEMA]), LASTDATE(CONCLUSION[FECHA_ALERTA]))
Solved! Go to Solution.
De acuerdo con su descripción, a partir del resultado puede ver, desea clasificar la columna FECHA_ALERTA cuando la columna ALERTA es la misma.
Aquí está mi solución, crear una columna calculada.
Rank_FechaAlerta =
RANKX (
FILTER ( CONCLUSION, CONCLUSION[ALERTA] = EARLIER ( CONCLUSION[ALERTA] ) ),
CONCLUSION[FECHA_ALERTA],
,
DESC,
DENSE
)
Obtén el resultado.
Adjunto mi muestra a continuación para su referencia.
Saludos
Equipo de apoyo a la comunidad _ kalyj
Si esta publicación ayuda, considere Aceptarla como la solución para ayudar a los otros miembros a encontrarla más rápidamente.
De acuerdo con su descripción, a partir del resultado puede ver, desea clasificar la columna FECHA_ALERTA cuando la columna ALERTA es la misma.
Aquí está mi solución, crear una columna calculada.
Rank_FechaAlerta =
RANKX (
FILTER ( CONCLUSION, CONCLUSION[ALERTA] = EARLIER ( CONCLUSION[ALERTA] ) ),
CONCLUSION[FECHA_ALERTA],
,
DESC,
DENSE
)
Obtén el resultado.
Adjunto mi muestra a continuación para su referencia.
Saludos
Equipo de apoyo a la comunidad _ kalyj
Si esta publicación ayuda, considere Aceptarla como la solución para ayudar a los otros miembros a encontrarla más rápidamente.
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 |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |