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
FH_MEL
Frequent Visitor

How to make short date format the default instead of long date.

Hi,

I understand that Power Query uses my computer's regional settings for the default date. How can I get it to use the short date (MM/DD/YYYY) instead of the long date? I am mostly referring to the report view after I close and load. 

 

Thank you!

2 REPLIES 2
ppm1
Solution Sage
Solution Sage

One quick way to convert all date columns into a model to short date is to use this C# script using Tabular Editor (v2 for free, v3 is paid). You can then use TE for lots of other great stuff too.

 

foreach(var column in Model.Tables.SelectMany(t => t.Columns))
{
    if(column.DataType.ToString() == "DateTime")
    {
        column.FormatString = "Short Date";
        column.RemoveAnnotation("Format");
    } 
}

 

Pat

 

Microsoft Employee
Greg_Deckler
Community Champion
Community Champion

@FH_MEL Not sure that is possible. You can use Metadata Mechanic to mass set your date formats though.

GitHub - gdeckler/MicrosoftHatesGregsQuickMeasures: Microsoft Hates Greg



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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.