Forum Discussion
Help on DAX
- 6 years ago
Hi,
The AND() function takes 2 inputs. Only when both inputs evaluate to TRUE will the AND() function also evaluate to TRUE. So if the Age of the invoice is >= min value and also <= max value, then it means that the Age of invoice falls between the min and ma values. The AND() function will therefore evaluate to TRUE. To convert TRUE to 1, one can multiply with 1.
Hope this clarifies.
Hi Ashish,
It works!!
I saw the measure, honestly I don't realy understand how it works ?
Can you be so kind to explain a bit what's the logic in there? Sorry, but I'm really a beginner in DAX. I did some DAX material, but that one, is fantastic yet not easy for me to know what's going on.
:manembarrassed:
Thanks,
- Ashish_Mathur6 years agoSuper User
Hi,
The AND() function takes 2 inputs. Only when both inputs evaluate to TRUE will the AND() function also evaluate to TRUE. So if the Age of the invoice is >= min value and also <= max value, then it means that the Age of invoice falls between the min and ma values. The AND() function will therefore evaluate to TRUE. To convert TRUE to 1, one can multiply with 1.
Hope this clarifies.