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)
tamerj1
Community Champion
3 years agoHi Anonymous
please try
Number of Month =
RANKX ( 'CALENDAR', FORMAT ( 'CALENDAR'[Date], "YYYYMM" ),, Asc, DENSE ) - 1