Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Syndicate_Admin
Administrator
Administrator

TODOS no funcionan

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:

CarlBlunck_0-1667973162380.png

¿Alguna idea?

Gracias

Carl

0 REPLIES 0

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.