SSRS User Story-6: Prepare a SSRS report on the birthday, In First part, group by with date of birth. In second report, prepare the wishes card with individual students.

*      In this scenario need to show the birthdays list based on month and date

Entities:

·         Student

     Fields:

o   DOB

In this Task need to create 3 Reports

Creating Dob field:

Choose field behaviour as Time-Zone Independent


Fetch xml for retrieving student information:




<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">

  <entity name="effi_student">

    <attribute name="effi_studentid" />

    <attribute name="effi_name" />

    <attribute name="createdon" />

    <attribute name="effi_dob" />

    <order attribute="effi_name" descending="false" />

  </entity>

</fetch>

Creating Birthday Image report:


Here need to pass parameter from other child report


Creating Child 1 Report:

 


In this report am adding row number and student Name by using List









Row Number Expression:


Right click on Dataset and choose filteràAdd







Add one parameter


Right click on student name field and choose action and specify the Happy birthday image report and create one parameter for student name and pass this parameter into Happy birthday image report


Creating Main Report:



Design:

By using Sub report call the child report here










Click on sub report properties add sub report




Here grouping the dob value field


Click on group properties:


Click on Preview then below output will come:

Here based on date and month display the birthday lists


If you click on student name then its navigate to Birthday image report (HBDTask6_2.rdl)


Output in CRM:

 



Output:

Open the student record and click on Run Report then choose SSRS report name



 

Comments

Popular posts from this blog

SSRS User Story-7: Create a SSRS report group by Case, retrieve all work orders and make work orders as sub group, retrieve all bookable resource bookings based on work order. If booking is completed then show the row color as green.

SSRS User Story-5: Create a SSRS report with student name, DOB, Date of Admission, parent details. Schedule this report, every day evening 6 pm it need to run and share with managers. (use power automate)