Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hola
Estoy tratando de calcular algo y no quiero que este valor se cambie cuando se aplica un filtro específico. He tomado y aplicado los consejos escritos en este blog Understanding DAX Auto-Exist - SQLBI , pero aún no tengo suerte. Aquí está la medida:
TrendingHeadcount =
VAR EOM = MAX(dim_PlacementDates[Date])
VAR SOM = MIN(dim_PlacementDates[Date])
RETURN
CALCULATE(DISTINCTCOUNT(fact_PlacementData[WamiKey]),
FILTER(fact_PlacementData,
(fact_PlacementData[HireDate]<= EOM && fact_PlacementData[TerminationDate]>=SOM) ||
(fact_PlacementData[HireDate]<= EOM && fact_PlacementData[TerminationDate]=BLANK())
),
ALL(dim_TerminationReasons[TerminationReasonDesc])
)
Aquí hay un fragmento del modelo donde se usan las 3 tablas a las que se hace referencia en esta fórmula:
¿Alguna idea?
Gracias
Carl