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.
Estoy buscando Measure donde necesito COUNT de sessionId, donde recordingId no está en blanco y examId está en blanco.
¿Usamos COUNTAX y COUNTBLANK toge?
¡Gracias, Denis! Eso funcionó bien y es eficiente.
También intenté usar FILTER en su lugar y eso fue demasiado largo.
Hey @patilmeet7 ,
también puede utilizar el filtro. En este caso, solo obtendrá un valor si esta combinación es válida.
Mira esto:
Count Measure =
CALCULATE(
COUNT( myTable[SessionID] ),
FILTER( myTable, myTable[recordingID] <> BLANK() && myTable[examId] = BLANK() )
)
Hey @patilmeet7 ,
simplemente puede usar un CALCULATE y cambiar el contexto del filtro para lo que desee:
Count Measure =
CALCULATE(
COUNT( myTable[SessionID] ),
myTable[recordingID] <> BLANK() && myTable[examId] = BLANK()
)
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 |