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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
user83
Helper II
Helper II

segment option in visualization

Hello ,

 

The segment option in visualization is very convenient, it allows to display the dates desired by the user.

Only problem, this segment takes as date 'the date of the system' https://docs.microsoft.com/fr-fr/power-bi/visuals/desktop-slicer-filter-date-range

while I seek for example to filter on my data the last two weeks, the segment shows me the results for the last two weeks taking into account today's date (so the date of the system) how to force it to take the date of my own data.

 

thank you very much for your Help

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @user83,

So you mean you want relative mode slicer work with your own datetimezone, right? AFAIK, power bi data model does not support timezone info, it only works with general date values. I'd like to suggest you take a look official document limitation list to know more about these:

Use a relative date slicer and filter in Power BI#limitations-and-considerations 

Spoiler

Data models in Power BI don't include time zone info. The models can store times, but there's no indication of the time zone they're in.

The slicer and filter are always based on the time in UTC. If you set up a filter in a report and send it to a colleague in a different time zone, you'll both see the same data. Unless you are in the UTC time zone, you and your colleague must account for the time offset you'll experience.

Notice: switch timezone function in power query not change raw date value. If you want to keep converted date, you need to do calculate with raw data values. (add a new column to use raw date value and timezone offset to get local date value)

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @user83,

So you mean you want relative mode slicer work with your own datetimezone, right? AFAIK, power bi data model does not support timezone info, it only works with general date values. I'd like to suggest you take a look official document limitation list to know more about these:

Use a relative date slicer and filter in Power BI#limitations-and-considerations 

Spoiler

Data models in Power BI don't include time zone info. The models can store times, but there's no indication of the time zone they're in.

The slicer and filter are always based on the time in UTC. If you set up a filter in a report and send it to a colleague in a different time zone, you'll both see the same data. Unless you are in the UTC time zone, you and your colleague must account for the time offset you'll experience.

Notice: switch timezone function in power query not change raw date value. If you want to keep converted date, you need to do calculate with raw data values. (add a new column to use raw date value and timezone offset to get local date value)

Regards,

Xiaoxin Sheng

thank you.

parry2k
Super User
Super User

@user83 can you provide bit more detail when you said "your own date"



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.