The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hola
Tengo datos como este
PersonID TransactionID TransactionMonth Training TrainingMonth
1 X1 de enero de 2020 C1 de febrero de 2020
1 X2 Febrero 2020 C2 Febrero 2020
2 X3 de febrero de 2020 C2 febrero 2020
Quiero resumirlo como abajo :
Mes - Transacciones - Capacitaciones
Enero 2020 1 0
Febrero 233
¿Cómo sincronizo los dos meses en un mes común para poder mostrar ambas métricas?
¡Muchas gracias!
Solved! Go to Solution.
¡Hola!
Intente crear una relación inactiva entre la columna de fecha y mes de entrenamiento.
A continuación, escriba DAX utilizando esta relación inactiva. Puede ver el siguiente vídeo sobre cómo implementar esto en su escenario;
https://www.youtube.com/watch?v=ppxcpuNMBoE&feature=youtu.be&t=86
saludos
Hola @EshaanG ,
//measure
Transactions =
CALCULATE(
COUNT(Sheet4[ TrainingMonth]),
ALLEXCEPT(
Sheet4,
Sheet4[TransactionMonth ]
)
)
//measure
Trainings =
VAR x =
CALCULATE(
COUNT(Sheet4[ TrainingMonth]),
FILTER(
ALL(Sheet4),
Sheet4[ TrainingMonth] = MAX(Sheet4[TransactionMonth ])
)
)
RETURN
IF(
x = BLANK(),
0,
x
)
Saludos
Lionel Chen
Si este post ayuda,entonces por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
¡Hola!
Intente crear una relación inactiva entre la columna de fecha y mes de entrenamiento.
A continuación, escriba DAX utilizando esta relación inactiva. Puede ver el siguiente vídeo sobre cómo implementar esto en su escenario;
https://www.youtube.com/watch?v=ppxcpuNMBoE&feature=youtu.be&t=86
saludos
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.