Forum Discussion
Anonymous
5 years agoNot applicable
Why ALLSELECTED(ALLEXCEPT ( ClientType, ClientType[FiscalYear] )) doesnt work?
I am trying to build the measure: CALCULATE([Revenue] ,
DATESYTD(dateadd('Date'[Date],-1,Year),"5/31"),
ALLSELECTED(ALLEXCEPT ( ClientType, ClientTy...
v-jingzhang
Community Support
5 years agoHi Anonymous
It seems ALLEXCEPT is enough. It can remove filters except for the specified column filters. How about using below code?
CALCULATE (
[Revenue],
ALLEXCEPT ( ClientType, ClientType[FiscalYear] ),
DATESYTD ( DATEADD ( 'Date'[Date], -1, YEAR ), "5/31" )
)
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.