Forum Discussion
bdehning
Post Prodigy
2 years agoNeed Date Hierarchy
I copied a table from a power Bi Report that had a YEARMonth Date Hierarchy. When I placed table into my other Power Bi Report, I no longer see the Calendar Icon next to YEARMonth or the Date Hiera...
- 2 years ago
I did not realilze I had turned off Auto date/time under Time Intelligence. I turned it back on and I see Date Hierarchy.
lucadelicio
Impactful Individual
2 years agoHi,
you need to create a column date type from the text YYYYMM.
So you can use the DATE(<year>, <month>, <day>) dax function.
You can try something like this:
DateType =
DATE(LEFT(YYYYMM, 4), RIGHT(YYYYMM, 2), "01")
Then set this column as Date type.
Pay attention to type during the conversion.
Mark as solution my reply if i help you.
Thank you.