sql - How to merge 2 datasets with 2 different datasources in SSRS 2010 -


i trying recreate access database in ssrs 2010. have 2 different datasets , 2 different servers (or datasources). have concatenated several fields make 1 keyword between 2 in sql this:

to_char(trim(concat(flt, concat(org, concat(dst, concat(til,flt)))))) keywordfield 

i have tried lookup function , can data, seems doesn't show me ones match in both tables if there not match puts blank line in fields in primary dataset.

i need them match against each other right rows back. both tables in access 7300 records (one little smaller other) , after merging them have 7153 left matched. when lookup full amount primary dataset. example: if main dataset plan , other vrr. i'll use:

=lookup(fields!keywordfield.value, fields!keywordfieldvrr.value, fields!mvmnr.value,"vrr") 

and i'll data matches, or blank rows didn't match gets me total amount of items in primary dataset. know because can put regular field beside lookup field , data primary dataset didn't match in lookup vrr dataset.

so question how can work? should continue trying lookup or lookupset? or should try subreports? have no experience , not find tutorial show me how link them correct results out of subreport matches primary dataset. help, appreciate it.

if understand correctly, don't want show rows lookup doesn't return value. in case change row visibility hidden if lookup returns "nothing".

it looks have lookup function working correctly, there no need change there.

lookupset needed if expect lookup table give multiple rows each row in primary table, , subreports wrong direction.

edit following comments:

make sure setting row visibility (see image), not table visibility. expression visibility in comments looks should work, don't need iif, isnothing returns boolean.

image showing row visibility in gui


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -