Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hola a todos
La siguiente medida de DAX se vuelve a poner en blanco cuando la agregué a una visualización de tabla.
Leaver2 = CALCULATE(COUNTROWS(Person),FILTER(VALUES(Person[EmploymentStatus]),Person[EmploymentStauts]="Inactivo"))
He creado baccicamente una columna de cusom llamada EmploymentStatus que usa una declaración if que dice en la Termiantion Daste es nula, entonces el valor debería ser "Activo" de lo contrario "Inactivo" y he incluido esto en mi medida anterior para obtener un recuento de egresados cada mes.
¿Alguien puede ver lo que he hecho que no trae ningún valor en absoluto?
Pruebe esta medida
Leaver2 =
COUNTROWS ( FILTER ( Person, Person[EmploymentStauts] = "Inactive" ) )
Si desea remove filtros de contexto de columnas y filas en la consulta actual, agregue all()/ ALLSELECTED().
Leaver2 =
COUNTROWS (
FILTER ( ALLSELECTED ( Person ), Person[EmploymentStauts] = "Inactive" )
)
Saludos
ShundaSteph
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.