Forum Discussion
varelapablo90
Helper II
3 years agoIF between DATEs return a TEXT values, how?
Hello community I am having the below issue: DAX comparison operations do not support comparing values of type Date with values of type Text. Consider using the VALUE or FORMAT function to conve...
- 3 years ago
You're using & which is the concatenation operator, you need to use && which is logical AND.
HUB_Scope = IF ( T_[Clearing Date] >= RELATED ( T_Mapping[Start Reporting] ) && T_[Clearing Date] <= RELATED ( T__Mapping[End Reporting] ), RELATED ( T_Mapping[HUB_SCOPE] ), "NON SCOPE" )
johnt75
Super User
3 years agoYou're using & which is the concatenation operator, you need to use && which is logical AND.
HUB_Scope =
IF (
T_[Clearing Date] >= RELATED ( T_Mapping[Start Reporting] )
&& T_[Clearing Date] <= RELATED ( T__Mapping[End Reporting] ),
RELATED ( T_Mapping[HUB_SCOPE] ),
"NON SCOPE"
)
- varelapablo903 years ago
Helper II
Oh my... thank you very much 😊