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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

SSRS Sub Reports are not Displaying in Main Report

(0) ShareShare
ReportReport
Posted on by 244

Hello All,

I have Main Report it Consist of more than 1 Sub Reports,If  Some Sub-report doesn't have any Rows ,I want Still Display Headers in Main Report,But it is not working .

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Preeti Sharma Profile Picture
    2,678 on at

    Hi,

    You can either create a dummy data set in the sub report to return at least 1 row OR set the NoRowsMessage at the sub-report level (in the main report) to show subreport.

    Please check below link:

    skamie.wordpress.com/.../displaying-blank-sub-report

    HTH :)

  • Verified answer
    Sairam89 Profile Picture
    244 on at

    Hello Preeti Sharma,

    Thank you for reply,

    Your answer is help me  but ,Actual Answer is    "Make Sub Report" always visible,we need to do some Work around.

    Step 1: -

    Sub Report ,normally have one DataSet ,that consist of actual Fetch Xml to Retrieve Data  From the Entity .

    if you  don't have records in the Entity Sub-Report normally will not visible in Main Report.

    To Resolve we need to do

    Step 2:-

    Add One more Data-set ,it need retrieve always 1 record, to achieve the same,you need to Select Parent Report  id .  

    Sub-Reports.png

    Step 3:- 

    Drag and Drop the Dataset2 Filed into the Sub Report ,After that  ---> Right Click--> Goto Properties --> Visibility Section --> Select Hide Radio button from List.

    Now it Will Work even if we don't have the Records in Dataset1, It show the Header of SubReport.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans