Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Report Builder Yesterday Filter

$
0
0

Hello,

In Report Builder, I need to add a filter on a date/time field from my shared dataset query [yyyy-mm-dd hh:mm:ss.000] to return just Yesterday's dates.  I've tried using the expression builder in the Dataset Properties\Filter area on that field like this:

Expression:  [ArrivalTime]
Operator:      =
Value:          Expression:  =DateAdd("d",-1,TODAY())

But it does not work and no rows show in my report.  I will need to filter Yesterday on fields at the report level a lot.  Is my syntax incorrect or what do I use?


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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