Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I would like to create a report that has dynamique date gestion.
My need it to pass the timezone offset via a parameter. then generate a new date column based on UTC column + Timezone offset parameter.
I started by creating a parameter that have type any ( may be I should change the type ) that should contain the offset for example 3 or -5
Then I create a custom column based on my UTC column
I'm stucked here on how can I link the offset number and UTC column to get the right date format in correct timezone ?
Solved! Go to Solution.
Hi @ITInge,
I think you can add a user table that includes the user and date timezone offsets, then you can add a new column to your date table to calculate correspond datetime based on current date time fields and user timezone offset.
If you do not have these timezone offsets, you can also use the query parameter and 'datetime.addzone' function to change datetime based on timezone parameters..
DateTime.AddZone
Regards,
Xiaoxin Sheng
Hi @ITInge,
I think you can add a user table that includes the user and date timezone offsets, then you can add a new column to your date table to calculate correspond datetime based on current date time fields and user timezone offset.
If you do not have these timezone offsets, you can also use the query parameter and 'datetime.addzone' function to change datetime based on timezone parameters..
DateTime.AddZone
Regards,
Xiaoxin Sheng
date formats and time zones have nothing to do with each other.
Can't you leave the format rendering up to the users' locale settings?
Ok what I mean here by date format is the right time for the user .
How can I be sure that the user will see the dates in his local time zone ?
For information user will only have access to embedded dashboard
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
4 | |
4 | |
3 | |
3 | |
3 |