Quantcast
Channel: Service topics
Viewing all articles
Browse latest Browse all 61664

Power BI.com manual refresh breaking visuals

$
0
0

I have create a calculated column which computes the "Minutes Since last refresh" and used a card to diaply this column.

 

Here's the calculate column formula: Num Mins Since last Refresh = datediff(Tablename(datetime), now(), minute). 

 

datetime is equal to  DateTimeZone.ToLocal(DateTime.AddZone(DateTime.LocalNow(),-5)). So it gives me central time. 

Now, when I do a "refresh now" in power bi web, the "Minutes Since Last Refresh" breaks and gives me the following error: 

Couldn't load the data for this visual
 
The query referenced calculated column 'TableName'[Num Mins Since Last Refresh] which does not hold any data because evaluation of one of the rows caused an error.
Please try again later or contact support. If you contact support, please provide these details.
 
I understand that power bi service uses some different time zone rather than the current local time. The questions is, what do I do to fix this? 

Viewing all articles
Browse latest Browse all 61664

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>