Forum Discussion
Anonymous
3 years agoNot applicable
Month number
Hello, I need to have in PowerBI a column which will display number of month in callendar. At this moment I have an Callendar table created by CALENDAR = CALENDAR(DATE(2018.,1.,1),EOMONTH(Today()...
- 3 years ago
hi Anonymous
try like:
NewColumn =DATEDIFF([DATE], TODAY(), MONTH)
FreemanZ
Super User
3 years agohi Anonymous
try like:
NewColumn =
DATEDIFF([DATE], TODAY(), MONTH)
- Anonymous3 years agoNot applicable
Thanks it works. I needed only to add "-" before statement to achieve exactly what I want.
Column = -(DATEDIFF(TODAY(), [DATE], MONTH))