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

applying date calculations to values

$
0
0

I have one value (Fields!NET_BALANCE.Value) and I have 6 different columns where I want to apply a different date expression to this value.

Example:

-Sum of Starting Balance

=DateAdd("d", -1, DateSerial(Year(@StartDate), Month((@StartDate), 1))

I believe this date expression would retrieve the last day of the previous month based on the @StartDate parameter. But how do I apply this date calc to the value?





Viewing all articles
Browse latest Browse all 28687


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