web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

RDLC - Report Data Item Join Type (INNER/OUTER)

(0) ShareShare
ReportReport
Posted on by 3,297

Hi All,

When developing data sets for RDLC reports, is it possible to define the join type somewhat similar to Query object links where you determine if the join is INNER or OUTER?

Example:

        dataitem(Customer; Customer)
        {
            PrintOnlyIfDetail = true;
            RequestFilterFields = "No.", "Salesperson Code", "Search Name";
            RequestFilterHeading = 'Customer';

            dataitem("Sales Line"; "Sales Invoice Line")
            {

                DataItemLink = "Sell-to Customer No." = FIELD("No.");
                SQLJoinType = INNER;
                DataItemLinkReference = Customer;
The highlighted text above is not supported so are there any alternatives or how do people manage this kind of join?
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    98,356 Super User 2026 Season 1 on at

    Hi, Unfortunately, SQLJoinType property is only applied to Query Data Item.

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-sqljointype-property

    But if you really want to do that, there's an easy way to do it.
    You can first create a Query (Using your SQLJoinType), then create a new Table, and finally set the DataItem as a new Table in the report and insert the values from the Query into the Table (which can be a temporary table).

    I apologize for the lack of clarity and hope the links below will assist you.

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/query/queryinstance-open-method

    https://yzhums.com/4869/

    Thanks.

    ZHU

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,965 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,125 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 961 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans