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

How do I set 1st row value from sql script in ssrs report?

$
0
0

I'm working on SSRS report.

There are two main fields CurrentMV and PreviousMV both are having there different formulas but I'm taking PreviousMV as a value of CurrentMV using =Previous(Sum(Fields!CurrentMV.Value))

Now How can I set 1st field only from sql and rest of other as it is coming from expression?

Because of I'm using Previous function 1st value is always coming null :(

I have the field in reporting proc which can give me the values but How can I set both 1st values as well as Previous function ?

enter image description here

I TRIED LIKE THIS
=First(Sum(Fields!PreviousMV.Value)) ,Previous(Sum(Fields!CurrentMV.Value))

BUT GETTING SYNTAX ERROR :(



Viewing all articles
Browse latest Browse all 10045

Trending Articles



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