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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
atonidas
Frequent Visitor

Convert To Datetime (dd/MM/yyyy HH) is possible????

Greetings i am new to powerbi, i am trying to convert date time column i got like this "16/01/2000  2  06:30:00" and want to convert to "dd/MM/yyyy HH" , and for that i use this 

 

DateTime.ToText([Time],"dd-MM-yyyy HH") and it worked but, i got results like 6 times 00 and 01 and 02.... because i have values like 10 min each (00:10 00:20).

 

The problem is think kind of format "dd-MM-yyyy HH"  example 16/01/2000 06 ,cant put type as Date i already seach on modeling panel and there is no format like this? How can i possible set this to date type ?   

4 REPLIES 4
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @atonidas,

 

Could you please mark the proper answers as solutions?

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @atonidas,

 

Try this format "dd-MM-yyyy HH:mm:ss". Please refer to https://msdn.microsoft.com/en-us/query-bi/m/datetime-totext.

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
rafaelmpsantos
Responsive Resident
Responsive Resident

You may do that in dax

Format([Time];"dd/MM/yyyy HH")

themistoklis
Community Champion
Community Champion

@atonidas

 

What the number between the date and the time presents?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors