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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
AFra
Helper III
Helper III

Change date format in dataset table

Hi all, 

 

I have a table with 200 date columns.

AFra_0-1622819483840.png

 

They are displayed in a long format. I'd like to have it displayed such as 26/10/2015

I know how to change the format column by column, but it will be long. Is there a way to change it all at once? 

Thanks in advance! 

Ana 

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi,  @AFra 

Please try follow steps:

1. Select all fields in the table in the "Model view" (select a field first,then ctrl+A to select all fields)

23.png

2.Change the data type and format as follows:

24.png

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-easonf-msft
Community Support
Community Support

Hi,  @AFra 

Please try follow steps:

1. Select all fields in the table in the "Model view" (select a field first,then ctrl+A to select all fields)

23.png

2.Change the data type and format as follows:

24.png

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

thanks a lot! it works nicely and it's going to save me a LOT of time : ) 

Anonymous
Not applicable

Hi @AFra ,

 

yes this is possible in the advanced editor.

First specify the columns you want to change the data like:

custom1 = List.Skip(Table.ColumnNames(Source),10),             --> this is if you want to select column 10 onwards.

Then you can change the type of all the slected columns in custom1 by:

 

changetype = Table.TransformColumnTypes(Source,List.Transform(Custom1, each {_,type date}))

 

after "type" you can enter the date time you want. 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.