Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Problem in data source in query

(0) ShareShare
ReportReport
Posted on by 304

Hi,

I have a data source A (TranslaionForBank) in query linked to another data source B (BankAccounts) via some field assume it's BankAccount, if the table A doesn't have a match for field BankAccount in the some cases the ssrs report fails and doesn't get any data for the whole report not just this part

How can I avoid this? 36181.png

so if there's no match the part related to banks comes empty but the rest of the data sources in the query well work fine

  • KareemTaima Profile Picture
    KareemTaima 304 on at
    RE: Problem in data source in query

    thank you all, it's working now

  • Verified answer
    WillWU Profile Picture
    WillWU 22,350 on at
    RE: Problem in data source in query

    Hi KareemTaima,

    An inner join rejects all table rows that fail to match a row in the other joined table. But an outer join includes rows from the first table even though there is no matching row in the other joined table. Default values are substituted for the data that could not be obtained from a matching row in the other joined table.

    Refer to: https://docs.microsoft.com/en-us/dynamicsax-2012/developer/select-statement-with-an-outer-join

  • Verified answer
    Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: Problem in data source in query

    Set join mode to Outer join instead of inner. This way you will get records for bank even if there is no transaction.

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans