Forum Discussion
Anonymous
4 years agoNot applicable
DAX comparison operations
Hi, I am new to DAX and Power BI and I having some problems with the bellow formula. INF - IF ([DateTime ]«DATE (YEAR (TODAY ()), MONTH (TODAY ()), 1), 1, 0) DAX comparison operations do not suppo...
- Anonymous4 years ago
Hi,
Yes, you are correct. The text data type was DateTime. I figured it out by adding Value(DateTime).
INF = IF (Value([DateTime ])«DATE (YEAR (TODAY ()), MONTH (TODAY ()), 1), 1, 0).
Thank you for replying to my message.
tamerj1
Community Champion
4 years agoHi Anonymous
Which one is the text data taype column?
Anonymous
4 years agoNot applicable
Hi,
Month is the text data type