Quantcast
Viewing all articles
Browse latest Browse all 217233

DATEDIFF, TODAY doesnt work.

Hello,

 

When using This formula: Offline = DATEDIFF(Max('hardware'[Last Count]),Today(),DAY) I get an error

 

The start date cannot be greater than the end date.  I should get a 0 when the two dates are the same.

 

if I use this:  Offline = DATEDIFF(Max('hardware'[Last Count]),Today()+ 1,DAY)

 

It works but is off by 1 day and never shows a zero.

 

NOTE: I have to do conditional formating so I MUST use a mesure as Power BI can not even do conditional formating on columns.


Viewing all articles
Browse latest Browse all 217233

Trending Articles