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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Mixed Layout Report Service

(0) ShareShare
ReportReport
Posted on by

Currently I have a list that is horizontal and I would like to leave it in the following layout:
How can I do this using report service?

pastedimage1663933267428v1.png

I have the same question (0)
  • Kipetcoff Profile Picture
    1,037 on at

    Hi,

    Does this report have 2 columns, N rows or vice versa?

  • Community Member Profile Picture
    on at

    Yes it is  2 columns, N rows

  • Suggested answer
    Kipetcoff Profile Picture
    1,037 on at

    Hi,

    First of all you need to write correct SQL command with groups of rows numbers

    select Mod3 = (row_number() over (PARTITION BY Mod2 ORDER BY Id)),
           Mod2,
           Id
    from
    (
        select Mod2 = (row_number() over (ORDER BY Id)) % 2,
               Id
        from
        (
            select 'Id' = '1'
            union all
            select 'Id' = '2'
            union all
            select 'Id' = '3'
            union all
            select 'Id' = '4'
            union all
            select 'Id' = '5'
        ) datatable
    ) tt
    order by id

    Then create matrix table

    pastedimage1664224265323v9.png

    pastedimage1664224310365v10.png

    Then remove rows and columns headers

    pastedimage1664222167409v4.png

    pastedimage1664224368578v11.png

    Insert subreport with parameter of row id

    pastedimage1664224396992v12.png

    pastedimage1664222292265v7.png

  • Community Member Profile Picture
    on at

    In this case it doesn't work for me because I'm using fetch xml and not sql

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 > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 166 Super User 2026 Season 1

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 51 Most Valuable Professional

#2
NeerajPawar Profile Picture

NeerajPawar 51

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans