?? Power BI Quick Tip: Displaying Data Refresh Time with Time Zone Adjustment
Power BI dashboards offer dynamic insights, but how do you keep track of when your data was last updated? ??
For anyone working with frequent updates or time-sensitive reports, it's crucial to have a "Last Refreshed" timestamp displayed prominently.
Here’s a simple solution using Power Query to account for time zones!
By adding a data refresh timestamp adjusted for your region, you provide your users with real-time information they can trust.
Steps shown here will help you achieve that!
Step 1: Open Power Query Editor
On the Query editor right click on the blank query and advanced editor as shown below
Step 2: Add a New Query for Refresh Time
领英推荐
let
RefreshTime = DateTimeZone.SwitchZone(DateTimeZone.FixedUtcNow(), 3)
in
RefreshTime
Step 3: Name Your Query
Step 4: Load the Query into Your Report
Step 5: Add the Time to Your Dashboard
RefreshTimeMessage =
"Data refreshed on " & FORMAT(SELECTEDVALUE(Datetime[Datetime]), "dd mmm yyyy hh:mm:ss AM/PM")
Incorporating this into your dashboard gives users confidence in the freshness of the data, which is essential for any data-driven decision-making.
Follow me for more Power BI and data transformation tips! Cheers. Happy Daxing.