Forum Discussion

Chanleakna123's avatar
Chanleakna123
Icon for Post Prodigy rankPost Prodigy
7 years ago

Last Refresh Meaasure are different PBI Desktop , PBI Service

1st Pic : in Power BI Service 

2nd Pic : in Power BI Desktop , the right time should be follow Power BI Desktop 

 

this is M Code i'm using : 

 

let
TodaysDate = DateTime.From(DateTimeZone.SwitchZone(DateTimeZone.FixedLocalNow(),10)),
#"Converted to Table" = #table(1, {{TodaysDate}}),
#"Renamed Columns" = Table.RenameColumns(#"Converted to Table",{{"Column1", "Last Refresh Date Time"}}),
#"Changed Type" = Table.TransformColumnTypes(#"Renamed Columns",{{"Last Refresh Date Time", type datetime}})
in
#"Changed Type"

 

 

This is calculation i'm using : Last Refreshed (Local) = VALUES ( Query2[Last Refresh Date Time] )

 

team , there's sth between power BI Desktop and service , any solution on this ? 
I read the articles but find no right result. 

3 Replies