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

DirectQuery hangs with the Today function

$
0
0

Hi all,

 

I have a very simple matrix which shows order numbers by client. I've added a custom column in the orders table to query whether the date is today, which is the following: 

 

_IsToday = IF(DATE(YEAR(Orders[DateCreated]),MONTH(Orders[DateCreated]),DAY(Orders[DateCreated])) = DATE(YEAR(TODAY()), MONTH(TODAY()), DAY(TODAY())), TRUE(),FALSE())

 

This works perfectly within the desktop software, but timesout and throws a resources available exceeded error while querying it on app.powerbi.com

 

Both the Power BI software and my browser are set to English (UK) locale.

 

If anyone can offer any insight, i'd be extremely grateful!

 

Thanks in advance,

Joe.

 

EDIT: I've also cleared the cache in the software and my browsers too.


Viewing all articles
Browse latest Browse all 61640

Trending Articles



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