Is there a possibility to have a full outer join in SSRS datasets?

  • Is there a possibility to have a full outer join in SSRS datasets?

    I would like to have full outer join created b/w two datasets and would like to show in tablix

  • noorrocks 86488 - Saturday, February 23, 2019 11:58 PM

    Is there a possibility to have a full outer join in SSRS datasets?

    I would like to have full outer join created b/w two datasets and would like to show in tablix

    Since datasets contain SQL statements and SQL statements can contain full outer joins, datasets can contain full outer joins.

    I'm not aware of any joins between datasets.  You should do this in the SQL portion of your dataset instead of trying to combine two separate datasets.

    Drew

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • drew.allen - Monday, February 25, 2019 1:24 PM

    noorrocks 86488 - Saturday, February 23, 2019 11:58 PM

    Is there a possibility to have a full outer join in SSRS datasets?

    I would like to have full outer join created b/w two datasets and would like to show in tablix

    Since datasets contain SQL statements and SQL statements can contain full outer joins, datasets can contain full outer joins.

    I'm not aware of any joins between datasets.  You should do this in the SQL portion of your dataset instead of trying to combine two separate datasets.

    Drew

    Hi Drew,

    I am working on a fetch based report so no sql :(. Fetch doesn't support Full outer join so I have brought two datasets to the report and now looking for a way to join them together.
    I tried lookup but it acts as a left join...

  • Since you apparently have a product limitation against full outer joins, you could try creating a view that does the full outer join for you and then report against the view.

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • The Dixie Flatline - Wednesday, February 27, 2019 3:02 PM

    Since you apparently have a product limitation against full outer joins, you could try creating a view that does the full outer join for you and then report against the view.

    if product has limitation then how can I create a view. And there's no view concept in fetchXML

  • noorrocks 86488 - Thursday, February 28, 2019 6:59 AM

    The Dixie Flatline - Wednesday, February 27, 2019 3:02 PM

    Since you apparently have a product limitation against full outer joins, you could try creating a view that does the full outer join for you and then report against the view.

    if product has limitation then how can I create a view. And there's no view concept in fetchXML

    There's just no way around the fact that the only viable solution is to use the SQL from each existing dataset, and create a new query that uses a FULL OUTER JOIN between the two queries.   Anything less just isn't going to work.

    Steve (aka sgmunson) 🙂 🙂 🙂
    Rent Servers for Income (picks and shovels strategy)

  • Ok.. thanks for your reply

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply