Forum Discussion
noah44
5 years agoHelper I
Getting Month and Year from a Datetime field with DirectQuery
Hello, I have a report where I want to show hourly, daily, monthly and yearly data. It all worked fine expect for the monthly overview. I tried it like this: DATEVALUE(MONTH(smrt_eigenv...
- 5 years ago
Hi,
thanks for your answers. Sadly they both did not work.
But I found a solution that works for me:
DATE(YEAR('Table'[date]), MONTH('Table'[date]), 1)
Best Regards
Noah