Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin 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
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.