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.
I am creating a report for a client that has offices all around the world. I have a "created_at" DateTime stamp (see below) column that I would like the user to be able to filter the time zone on the published report. So, for example, if I select PST in a filter, the times in "created_at" are updated to PST time. As I understand it this is not possible because to accomplish as I would need to create a calculated column that updates with filters, and calculated columns only update when data is refreshed. Marcel Beug, who owns Bemint, published a video with a link to a Power BI report that does this, but using parameters which is not a tangible solution to what I'm looking for because it doesn't allow the end user to filter it on the published report. I have also looked into this method, but it does not work as I do not have a time zone associated with the individual row numbers, it's all coming in, in UTC. I have a feeling that what I'm looking for is not possible, but I just wanted to check with the community if someone has been able to create a workaround for this that doesn't require creating calculated columns for each time zone?
created_at
3/10/18 10:11:00
3/11/18 05:34:00
3/12/18 17:03:00
.......
Solved! Go to Solution.
Hi @Ski900,
How about a workaround like this?
1. Add a time zone table.
2. Create a measure.
Special Timezone = IF ( HASONEVALUE ( 'Table 0'[Name] ), MIN ( 'Table1'[created_at] ) + TIME ( MIN ( 'Table 0'[offset] ), 0, 0 ), MIN ( Table1[created_at] ) )
3. Add a slicer.
Best Regards,
Dale
Hi @Ski900,
How about a workaround like this?
1. Add a time zone table.
2. Create a measure.
Special Timezone = IF ( HASONEVALUE ( 'Table 0'[Name] ), MIN ( 'Table1'[created_at] ) + TIME ( MIN ( 'Table 0'[offset] ), 0, 0 ), MIN ( Table1[created_at] ) )
3. Add a slicer.
Best Regards,
Dale
I feel like a dummy. I had attempted to implement something similiar to this using the same logic, but I didn't think to use the
TIME() function and for some reason I had it in my head that I needed to do this as a calculated column. Thank you so much!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |