Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.