Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi all,
Im facing an issue where I am trying to use the relative time slicer but it does not match my timezone.
There are no problems with my data or other visuals that are filtered by this particular slicer.
But I would just like to change the line of text at the bottom of the relative time slicer which shows the range of dates and time in UTC, into an equivalent in my timezone instead. Or perhaps, is it possible to remove that text entirely?
Please advise and any help is appreciated!
Solved! Go to Solution.
Hi @JayBI ,
For the latest version of powerbi desktop, slicers and filters are always based on the time in UTC, and they cannot be deleted or blocked. My suggestion is that you can use now() to get your time zone, and then create a card visual to illustrate the time zone difference to remind your customers.
Regarding your question, I think it is a good idea. I will promptly report back to Microsoft official, hoping to implement this feature in the next update.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @JayBI ,
The data model in Power BI does not include time zone information. Models can store time, but they do not show the time zone they are in. You can use the query editor to convert data captured in the local time zone to UTC.
The time offset can be added to the date/time function in DAX through the dax formula. Try as below:
DAX NZ TIME = NOW()+(12/24)
DAX Seattle TIME = NOW()-(7/24)
related document link:
Use a relative time slicer or filter in Power BI - Power BI | Microsoft Docs
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-henryk-mstf ,
Thank you so much for your detailed reply.
I've implemented your suggested steps and the data is filtered as intended by the slicer.
The main gripe I have with the slicer is that indication of the datetime range is still in UTC as shown in the black box below in the image of the relative time slicer. Following that is an image of the equivalent time in my timezone.
The display of the datetime range in the slicer is in UTC and not in my timezone, which may confuse local users of the dashboard. So I was wondering if the datetime range in the black box can be displayed in my timezone, or removed entirely to prevent any confusion to users?
Thank you so much for your help!
Best Regards,
Jay
Hi @JayBI ,
For the latest version of powerbi desktop, slicers and filters are always based on the time in UTC, and they cannot be deleted or blocked. My suggestion is that you can use now() to get your time zone, and then create a card visual to illustrate the time zone difference to remind your customers.
Regarding your question, I think it is a good idea. I will promptly report back to Microsoft official, hoping to implement this feature in the next update.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
124 | |
108 | |
99 | |
62 | |
62 |
User | Count |
---|---|
137 | |
115 | |
102 | |
71 | |
61 |