Posted 26 June 2023, 5:17 am EST - Updated 26 June 2023, 5:22 am EST
We have a data set Receipts. All the records have a State field. One record in each State group has a Level name of “Undistributed”. I have made a second data set (ReceiptsUndistributed) from the source and applied a filter to just have 1 Undistributed record for each State. I try to use the LookUp function to pull the balance for the Undistributed record but the result is just the First record’s Balance in the original dataset for the current State group.
This is like the expression used:
=Lookup( Fields!State.Value , Fields!State.Value, Fields!Balance.Value, "ReceiptsUndistributed")
So based off the data below, it always returns Tennessee’s value of 40 in that group and Kentucky’s value of 33. Neither of which are in the second dataset.
Does LookUp not work with Filtered datasets?
Thank you for any advice you can offer.