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
AllanBerces
Post Prodigy
Post Prodigy

Date Timezone

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

 

Previousday = if('DAILY PROGRESS'[Progress Date]=TODAY()-1,"Today",""& 'DAILY PROGRESS'[Progress Date]
 
Thank you
2 ACCEPTED SOLUTIONS
v-nmadadi-msft
Community Support
Community Support

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.

 

View solution in original post

Amar_Kumar
Resolver I
Resolver I

@AllanBerces 

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 

View solution in original post

4 REPLIES 4
Amar_Kumar
Resolver I
Resolver I

@AllanBerces 

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 

v-nmadadi-msft
Community Support
Community Support

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.

 

lbendlin
Super User
Super User

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.

Hi @lbendlin thank you for the reply will try on this.

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