Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Power BI Date format as "yyyymmdd"

Good day,

 

Please will you provide me solution for below challenge

 

I do have "Date" column in Calendar table / data set (Power BI generated Date table). I would like to create new date column in "Calendar" table / data set, the new column's DATA TYPE should be "Date" and the FORMAT should be "yyyymmdd"

 

Thank you

3 REPLIES 3
Maddy99
Resolver II
Resolver II

I dont think it is possbile to make "20180901" as a date type.

is it a solution to make 2 columns? 1 as a date type for calculation and  1 for displaying? 

 ---

update

 

maybe this could work: https://www.oraylis.de/blog/local-date-formats-in-power-bi 

 

Salvador
Responsive Resident
Responsive Resident

Hello,

 

If you go to the modeling tab, under format, you have yyyy-MM-dd, if that doesnt suit your needs, you could create a calculated column, and format([date],"yyyymmdd")

 

Regards,

Salva.

Anonymous
Not applicable

Hi Salva,

 

I tried it, the moment I use FORMAT('Calendar'[Date],"yyyymmyy") then the Data Type changes to "Text", any ideas?

 

Thank you

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.