Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
tech2
Yak Posting Veteran
51 Posts |
Posted - 2014-02-13 : 13:43:43
|
I'm trying to find an expression that I can specify a value within the field, i.e. 'Widget1'.DataSet1LOC ITEMNUMBER OnOrderFL Widget1 18FL Widget2FL Widget3DataSet2LOC PARTNUMBER QUANTITYFL Widget1 18FL Widget2 0FL Widget3 0The expresion below populates all 'OnOrder' cells in dataset1 with 18, because i'm not specifying 'Widget1'. DataSet1 should look like DataSet2.=Lookup(Fields!LOC.Value, Fields!LOC.Value, Fields!QUANTITY.Value, "DataSet3")I have to compare two fields in each dataset 'LOC and ItemNumber', in both DataSets.Any help would be highly appreciated.SSRS 2008 R2 - Report Builder 3.0Thanks |
|
tech2
Yak Posting Veteran
51 Posts |
Posted - 2014-02-19 : 20:41:32
|
Workaround:I concatenated the location and item/part number Fields.Now my Lookup expression works fine. I can pull the 'Quantity' from DataSet2 to the 'OnOrder' Field in DataSet1 |
|
|
|
|
|