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
Anonymous
Not applicable

Conver SQL database date format

Hi Team,

 

i have trasaction date in SQL dabase and directly connected to power bi.

 

SQL database format like --Friday, December 01, 2023

i Need required format is --12/01/2023 

i have tried this format

Trasaction date = FORMAT(MIN(table[Trasacation date]),"mm/dd/yyyy") , invidually its working fine but while other fileds its showing blank..... after that i have tried to change the format but its showing only text....no other format dropdown

 

any possible to share feedback

 
 

 

 

3 REPLIES 3
Anonymous
Not applicable

Hi DM,

 

thank you for your time...

 

While adding the Datavalue its taking only measuare not a table collumn. please share some inputs 

 

 

VahidDM
Super User
Super User

Hi @Anonymous 

 

First, Convert the Transaction Date to Date Data Type:

Converted Transaction Date = 
DATEVALUE(table[Transaction date])

 

then Format the Date for Display (Calculated Colum)

Formatted Transaction Date = 
FORMAT([Converted Transaction Date], "MM/dd/yyyy")

 

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 

Anonymous
Not applicable

Hi DM,

 

thank you for your time...

 

While adding the Datavalue its taking only measuare not a table & column. please share some inputs

how we can achieve 

 

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.