Forum Discussion
Dom87326
4 years agoHelper II
Conditional expression
Hello, I'm trying to write a complex conditional expression using the IF or SIWTCH. My data model is the DimDate: DimCustomer table: CustomerKey CustomerName 094234 A 09...
Dom87326
4 years agoHelper II
Thanks tamerj1 ,
I forgot to mention that same CustomerKey might have Dates in the Fact for 2021 and 2020. Is there an alternative for your formula, i.e.
Check Filtered =
AND ( ISINSCOPE ( DimCustomer[CustomerName] ), ISINSCOPE ( Fact[Date].[Year] = 2021 ) )Regards!
tamerj1
4 years agoCommunity Champion
I'm lost again. Please provide a sample of the expected results.