Quantcast
Viewing all articles
Browse latest Browse all 10045

Expression Help using lookup

We are using SyteLine ERP which displays reports through SSRS pulling stored procedures. Rather than alter the stored procedures to include form fields on reports, I am using the lookup command with the following expression

=lookup(Fields!source.Value,Fields!destination.Value,Fields!result.Value, "dataset")

I was able to get the field I needed on the report. However, this is a decimal field with an initial value of 0.00000 and I only want to report this value if it is greater than 0. So my question is how I can nest the "result" field into an if statment. Do I essentially use the lookup statement as the value of the field? Create a parameter?

I'm not very familiar with VB or SSRS and I am basically trying to get a few reports customized to our need. In this case, show break quantities and prices on a customer quote, without showing a bunch of breaks with 0 quantity and 0.00 cost.


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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