Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

SSRS help

$
0
0

Hi there. So, I'm building a report in SSRS using visual studio.

This report is using multiple datasets. I'm also formatting currency. I'm able to get one of the two numbers that I need to add, but am having difficulty getting the sum function to work with the "formatcurrency" and the "lookup".

The following bit of code gives me the first number that I'm wanting to add:

SQL
=FormatCurrency((Lookup(Fields!Branch.Value,Fields!Branch.Value,Fields!WIP.Value,"dsGetPartsSalesByMonth")),0)

The problem lies in me adding the second number to that number. The second number's line of code is the same, just a different data set.

I tried more than once and multiple different ways to get the Sum function to work with the formatcurrency and the lookup function, but am banging my head against the wall.

Anyone have any words of advise or encouragement?...


Viewing all articles
Browse latest Browse all 4871

Trending Articles