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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Header and line Data from two different datasets should be grouped in one place on SSRS

(0) ShareShare
ReportReport
Posted on by 486
I have two datasets that are being displayed on SSRS Report
Customers and Sales orders related by SalesId field
Customers
 
CustId   Cust Name SalesId
10C1S1
20C2S2
 

Sales orders

 

SalesIdItemIdNamePrice
S1I1Bat2
S1I2Ball4
S2I3pen6
S2I4Phone8
 
My requirement is to display the data like below.
1. All the related customers and sales data together
2. sales data should be displayed with columns as row heading and rows as column values.
 
 
CustId   Cust Name SalesId
10C1S1
 
SalesIdS1S1
ItemIdI1I2
NameBatBall
Price24
 
 
CustId   Cust Name SalesId
20C2S2
 
SalesIdS2S2
ItemIdI3I4
NamepenPhone
Price68
 
I was able to get the second part by using the below formula but the grouping is giving me error
Click on [Row Group] and click Group Properties of the Matrix
=ceiling(rownumber(nothing) / 3)
Click on [Column Group] and click Group Properties of the Matrix
=ceiling(rownumber(nothing) mod 3)
I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    306,759 Super User 2026 Season 2 on at
    Hi Srikanthkonda,
     
    Is this a query-based report or do you have a data provider class? In case it is a query-based report, you can search for existing views or create a new view where you group the SalesTable and CustTable details. In case you have a report data provider, you can use temporary tables based on the reporting needs and fill these using X++ coding.
  • Judy Profile Picture
    Microsoft Employee on at
    Hi, did you get any error messages when you generate the SSRS report. You can share us more details about how you generate it.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 286 Super User 2026 Season 2

#2
SajeedMullaji Profile Picture

SajeedMullaji 272

#3
Martin Dráb Profile Picture

Martin Dráb 258 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans