Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hola
Estoy tratando de calcular mi tasa de rotación después de 90 días, teniendo en cuenta las nuevas contrataciones que dejaron la empresa después de 90 días de su fecha de inicio,
¿Hay algún DAX que pueda ayudarme?
Gracias
Hola @DECOVIOTI ,
Podemos intentar crear una medida para satisfacer sus requisitos:
Rate =
DIVIDE (
CALCULATE (
DISTINCTCOUNT ( 'Table'[Name] ),
FILTER (
'Table',
'Table'[HireDate] <> BLANK ()
&& 'Table'[LeaveDate] - 'Table'[HireDate] >= 90
)
),
CALCULATE (
DISTINCTCOUNT ( 'Table'[Name] ),
FILTER ( 'Table', NOT ( 'Table'[LeaveDate] - 'Table'[HireDate] <= 90 ) )
),
0
)
Si no cumple con su requisito, ¿podría mostrar el resultado exacto esperado basado en las tablas que hemos compartido?
Por cierto, pbIX archivo como adjunto.
Saludos
Tener diferencia entre la fecha de contratación y la fecha de finalización
Una nueva columna
Diff - Datediff([Fecha de contratación], [Fecha de terminación],Día)
Puedes usar eso
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.