Forum Discussion
Anonymous
7 years agoNot applicable
Change Date format to YYYYMM
Hi, I have a date column in YYYYMMDD format, when I import to Power BI, the Data Type is Text. I need to convert to Data Type "Date" and Date Format -> YYYYMM. In the Modeling tab, the D...
- 7 years ago
Hi,
In the Date Table, write this calculated column formula
=FORMAT('Date'[Date],"YYYYMM")
In the slier, drag this column.
Hope this helps.
Ashish_Mathur
Super User
7 years agoHi,
This is another column you have created in the Calendar Table. Since the Date column stays intact and that is the column you hae built the relationship to, all measures and columns will work as expected.
Anonymous
7 years agoNot applicable
Thank you Ashish for your time and inputs.
- Ashish_Mathur7 years ago
Super User
You are welcome.