Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi good day,
Can anyone help me on my Previous Day calculated column. When i publish my report and refresh at night my Previous day column late for almost half day. my time zone +8hrs KL
Solved! Go to Solution.
Hi @AllanBerces ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
You can adjust manually by
PreviousDay =
VAR KLToday = TODAY() + 8/24 -- Manually adjust to KL time
VAR KLYesterday = KLToday - 1
RETURN
IF('DAILY PROGRESS'[Progress Date] = KLYesterday, "Today", 'DAILY PROGRESS'[Progress Date
])
Or in power query,
Go to Transform Data
Add a column with DateTimeZone.FixedUtcNow()
Use DateTimeZone.SwitchZone([YourUtcDate], 😎 to convert to KL time
Extract the date part if needed
Please mrk this anwer as complete
You can adjust manually by
PreviousDay =
VAR KLToday = TODAY() + 8/24 -- Manually adjust to KL time
VAR KLYesterday = KLToday - 1
RETURN
IF('DAILY PROGRESS'[Progress Date] = KLYesterday, "Today", 'DAILY PROGRESS'[Progress Date
])
Or in power query,
Go to Transform Data
Add a column with DateTimeZone.FixedUtcNow()
Use DateTimeZone.SwitchZone([YourUtcDate], 😎 to convert to KL time
Extract the date part if needed
Please mrk this anwer as complete
Hi @AllanBerces ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Note that the Power BI service runs on UTC. You should base all your calculations on UTC as well. So instead of using TODAY() use UTCTODAY() etc.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 33 | |
| 33 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 45 | |
| 30 | |
| 28 |