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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Problema con las zonas horarias

Hola, tengo un KPI en mi informe que muestra la última actualización. El problema es que cambia cuando lo publico en el servidor, tal vez es un problema con la zona horaria. Estos son los pasos que he hecho:

1. Script de Power Query:

1.png

2. Resultado de la consulta de energía:

2.png

3. DAX

3.png

4. Resultado del KPI (el tiempo está bien):

4.png

5. Servidor: La información sobre herramientas con Datos actualizados muestra el momento adecuado, pero el KPI en el informe tiene +3 horas.

5.png

¿Qué puedo hacer para arreglar esto?

Gracias

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Solution in Power Query;
 
Source = DateTimeZone.SwitchZone(DateTimeZone.FixedUtcNow(), -4), #"Converted to Table" = #table(1, {{Source}}), #"Renamed Columns" = Table.RenameColumns(#"Converted to Table",{{"Column1", "LastRefreshDate"}}), #"Added Custom" = Table.AddColumn(#"Renamed Columns", "AsOf", each "As of "&DateTimeZone.ToText([LastRefreshDate], "MM/dd/yyyy hh:mmtt")),

Show less

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Solution in Power Query;
 
Source = DateTimeZone.SwitchZone(DateTimeZone.FixedUtcNow(), -4), #"Converted to Table" = #table(1, {{Source}}), #"Renamed Columns" = Table.RenameColumns(#"Converted to Table",{{"Column1", "LastRefreshDate"}}), #"Added Custom" = Table.AddColumn(#"Renamed Columns", "AsOf", each "As of "&DateTimeZone.ToText([LastRefreshDate], "MM/dd/yyyy hh:mmtt")),

Show less

 
amitchandak
Super User
Super User

@milomilo , compruebe si esta configuración en el servicio power bi puede ayudar

https://support.helpshift.com/kb/article/how-do-i-set-my-timezone-in-power-bi/

Anonymous
Not applicable

Gracias, pero no encuentro esa sección. ¿Dónde se supone que debe estar en el servicio Power BI?

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors