Forum Discussion

liran's avatar
liran
Frequent Visitor
8 years ago
Solved

values function with filter

hi, i have  this measure:   SUMX ( VALUES ( TimeTable[Times_DimTime_By_WeeksWeek] ), [ValidObservationWeek] )   and i want it to sum only when the period is equal to the period in my filter ...
  • Zubair_Muhammad's avatar
    8 years ago

    liran

     

    May be something like this ....Not sure

     

    Measure =
    SUMX (
        FILTER (
            TimeTable,
            TimeTable[Times_DimTime_By_WeeksWeek] = SELECTEDVALUE ( MyfilterTable[Column] )
        ),
        [ValidObservationWeek]
    )