Forum Discussion
Anonymous
4 years agoNot applicable
DAX Help
Hi experts, below measure is giving wrong results in case of december month, please help YEAR - MONTH = IF ( DAY('CALENDAR'[Date]) > 25 , CONCATENATE( YEAR('CALENDAR'[Date]) & "-" , MONTH('CA...
Anonymous
4 years agoNot applicable
Hi
Please try this
YEAR - MONTH =
IF ( DAY('CALENDAR'[Date]) > 25 ,if(month('CALENDAR'[Date])<12,
CONCATENATE( YEAR('CALENDAR'[Date]) & "-" , MONTH('CALENDAR'[Date]) +1 ),
CONCATENATE( YEAR('CALENDAR'[Date]) & "-" , MONTH('CALENDAR'[Date]) )
))
Anonymous
4 years agoNot applicable
Anonymous my requirement is different,
25-11-2021 = 11-2021
26-11-2021 = 12-2021
25-12-2021 = 12-2021
26-12-2021 = 01-2022
- Anonymous4 years agoNot applicable
Anonymous yes , It will work. wondering why time intelligence is not working here.