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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.