cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rovers
Frequent Visitor

Include Today not working in Relative Date

Hi,

I'm having problems with the relative date filter. It is currently 4 Sep  7.45 am in Singapore. When I use select "Include today" in the filter pane, 4 Sep is not appearing. Most of the time, this filter and report works fine, but occasionally like now, it is not working well. I have also added a card showing TODAY() is indeed 4 Sep. 

 

 

Annotation 2021-09-04 074123.png

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @rovers ;

As you said , the Power BI server’s date and time is based on UTC, and it might be different from your local timezone.

Methods are in high-level as below;

  1. Use DAX expressions to add or deduct some hours from NOW()
  2. Use Power Query functions to get the local time zone
  3. Use a web query to get the local timezone from a Web API.

https://radacad.com/relative-date-slicer-for-your-local-time-zone-in-power-bi

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yalanwu-msft
Community Support
Community Support

Hi, @rovers ;

As you said , the Power BI server’s date and time is based on UTC, and it might be different from your local timezone.

Methods are in high-level as below;

  1. Use DAX expressions to add or deduct some hours from NOW()
  2. Use Power Query functions to get the local time zone
  3. Use a web query to get the local timezone from a Web API.

https://radacad.com/relative-date-slicer-for-your-local-time-zone-in-power-bi

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

rovers
Frequent Visitor

However, at 8.15 am in Singapore, it is now working fine. This leads me to think that "Include today" is based on GMT timezone. Is this correct, and if so how do I overcome this problem?

 

Annotation 2021-09-04 074123.png

 

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors