Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

How to Merge 2 different column from different data-set in SSRS Reports

Posted on by 92

I have to prepare cash-flow. there are 2 different entity like entity A and entity B.

entity A has record of Payment we have to pay on that date.

entity B has record of Payment which come from customer.

so,

Entity A                                     Entity B

Jan/2019 | -300 USD               Jan/2019 | +500 USD

Feb/2019 | -200 USD              Feb/2019 | +200 USD

March/2019 | -100 USD          March/2019 | +100 USD

June/2019 | -700 USD            April/2019 | +600 USD

December/2019 | -300 USD   November/2019 | +700 USD

There are data for one record.

and i want to print report like below.

Date                                     Entity A                                Entity B                                     Total

Jan - 2019                          -300 USD                             +500 USD                                +200 USD

Feb- 2019                           -200 USD                             +200 USD                                +0 USD

March- 2019                       -0 USD                                 +100 USD                                +100 USD

April- 2019                          -0 USD                                 +600 USD                                +600 USD

June- 2019                          -700 USD                             +0 USD                                   -700 USD

November- 2019                -0 USD                                  +700  USD                               +700 USD

December- 2019                -300 USD                             +0 USD                                     -300 USD

Please help me to do this.

Thanks In Advance.

  • Suggested answer
    Mahadeo Matre Profile Picture
    Mahadeo Matre 17,021 on at
    RE: How to Merge 2 different column from different data-set in SSRS Reports

    Hi..

    Either you can combine those entities using fetchxml query.. if there is a relationship between both entities then in FetchXML you can pull data from both entities. All rows will be in single dataset and then you can easily show it in report.

    Another option is SSRS Lookup function, where you can pull data from another data set.

    docs.microsoft.com/.../report-builder-functions-lookup-function

    Hope this will help..

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans