Forum Discussion
liran
8 years agoFrequent Visitor
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 ...
- 8 years ago
May be something like this ....Not sure
Measure = SUMX ( FILTER ( TimeTable, TimeTable[Times_DimTime_By_WeeksWeek] = SELECTEDVALUE ( MyfilterTable[Column] ) ), [ValidObservationWeek] )
Zubair_Muhammad
8 years agoCommunity Champion
May be something like this ....Not sure
Measure =
SUMX (
FILTER (
TimeTable,
TimeTable[Times_DimTime_By_WeeksWeek] = SELECTEDVALUE ( MyfilterTable[Column] )
),
[ValidObservationWeek]
)liran
8 years agoFrequent Visitor
it says that 'SELECTEDVALUE'. It is not a valid table, variable, or function name.
i'm using excel 2016, maybe this version doesnt support the SELECTEDVALUE function?
- Zubair_Muhammad8 years agoCommunity Champion
- v-piga-msft8 years agoResident Rockstar
Hi liran,
Have you solved your problem?
If you have solved your problem, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please feel free to ask.
Best Regards,
Cherry