I have a report set to refresh every 30 minutes in PST time. and I show the last refresh date and time in PST on the report, and the report and displays correctly.
I have also set my dataset to always show data for today only. For this, I have a column in my date table that shows 1, if current date is today, and 0 date is not current date.
Maybe create a validation table and call the date/time from there?
Test with this.
let
Source = Table.FromRecords(
{
[ Name = "Current TimeZone", Value = TimeZone.Current ],
[ Name = "UTC time", Value = DateTimeZone.FixedUtcNow() ],
[ Name = "UTC -8 Hrs", Value = DateTimeZone.SwitchZone( DateTimeZone.FixedUtcNow(), -8 ) ]
}, type table [Name = text, Value = any]
)
in
Source
Just following up if the response above help you solve your inquiry?
We’ve noticed that no response was received from you on the post above. In case there won’t be any activity on it in the next few days, we’ll be tagging this post as Solved.
Due to inactivity, a response on this post has been tagged as “Solution”.
If you have a follow question or concern related to this topic, please remove the Solution tag first by clicking the three dots beside Reply and then untick the check box.
I did eventually got to implement this in the report.
So it works in a way that instead of calendar table, i use slicer using date from this table (UTC-8hrs) and I also use this table to filter all tables in my data model.
and that works. Now i always show todays data in the report and it remains in UTC time. The only challenge is that users dont have an option to select any previous dates.
do you have any recommendation to achieve this, or ideas to point me in correct direction