Forum Discussion
asdf1608
Helper V
3 years agoCompare between date and today
How do you compare month(date) and month(today).
The query is
IF(month(date)<month(today) then Column1 else Column2
End
How to covnert this in Power BI
It is like this:
Column =IF(MONTH([Date]) = MONTH(TODAY()),Column1,Column2)
1 Reply
- FreemanZ
Super User
It is like this:
Column =IF(MONTH([Date]) = MONTH(TODAY()),Column1,Column2)