Forum Discussion

PatrickLamoste's avatar
7 years ago
Solved

Make the Card visual display current values

Hello,   I hope you can help me.   I have a measure for the Total Head Count for terminated  -  Terminated = IF ( COUNT ( AllTerminated[Last Date Worked] ) = BLANK (), 0, COUNT ( AllTerminated[...
  • parry2k's avatar
    parry2k
    7 years ago

    PatrickLamoste you second measure need change or you can club both in one, double check the syntax/table names, might be typo

     

    Terminated Selected Year = 
    VAR selectedYear = SELECTEDVALUE( AllTerminated[Termination Year], YEAR(TODAY()))
    
    RETURN
    CALCULATE(
    COUNT(Allterminated[Last Date Worked]),
    AllTerminated[Termination Year] = selectedYear
    )