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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
learner03
Post Partisan
Post Partisan

Timestamp format

I have a last refresh timestamp on each report.

For that I am using below query-

let
Source = DateTime.LocalNow(),
#"Converted to Table" = #table(1, {{Source}}),
#"Inserted Date" = Table.AddColumn(#"Converted to Table", "Date", each DateTime.Date([Column1]), type date),
#"Inserted Time" = Table.AddColumn(#"Inserted Date", "Time", each DateTime.Time([Column1]), type time),
#"Renamed Columns" = Table.RenameColumns(#"Inserted Time",{{"Column1", "DateTime"}}),
#"Added Custom" = Table.AddColumn(#"Renamed Columns", "DateTime MyZone", each DateTime.From ( [DateTime] ) + #duration(0, +10,0,0))
in
#"Added Custom"

 

This shows last refresh time in power Bi service in local time. I use "DateTime MyZone" in a card visual to show the date/time. But in service, it shows the date time as month first  then date (American format) but I nedd Date/month/Year and time.

1 REPLY 1
amitchandak
Super User
Super User

@learner03 , There regional setting at Power BI Desktop or service level that can change the format

 

refer

https://learn.microsoft.com/en-us/power-bi/fundamentals/supported-languages-countries-regions

 

https://community.fabric.microsoft.com/t5/Desktop/Problem-with-Regional-Settings/m-p/310126

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors