I have two set of data on 2 tabs of the same report in SSRS
Employee Name, Employee Number, Department ID
Employee Number, Department ID, Department Details
I am trying to create a hyperlink on Department ID of tab 1 to link to Department ID of tab 2 of the same report.
This report should be rendered to excel spreadsheet, where the hyperlink from tab 1 row 1 should take you to details in tab 2 row 2(mapped by department ID)
I tried using the Go to Report feature on SSRS but I don't know how to do it for different sheet on the same report.
I'm not sure if this is supported when rendered to Excel but look at bookmarks.
https://learn.microsoft.com/en-us/sql/reporting-services/report-design/add-a-bookmark-to-a-report-report-builder-and-ssrs
Related
I have a requirement to display data from table1 on reports. For this, i have created two reports: Mainreport and IdDataReport
Table1: Id, fName,lname,isactive.
Mainreport: It displays all columns - ID column should have hyperlink only if isactive=true else no hyperlink.
IdDataReport: This report should display other data based on ID value that comes / selected from this "Mainreport" report.
What i have done?
I went to Mainreport report "ID" textbox->Actions -> Goto report ->fx -> iif(IsNothing(Fields!isActive.value)=True,Nothing,"IdDataReport")
After performing above I'm getting data.
Problem: 1. Mainreport - 'ID' column records are having hyperlink (showing hand icon) irrespective "inactive=false".
2. Selected "ID" column value on "Mainreport" not going to "IdDataReport" report and not displayed selected value related data.
Is there any way of getting just the value from one report to another?
I have two reports, on one of them I show the students who failed in their assignatures.On the report I only show the name of the student, his studentCode, the assignature where he failed and his note.
On another report I have the entire history of every student. On that report I show the name of the student, his studentCode, all of his assignatures with their notes and at the end the final grade of the student (Sum of all of his grades / # of assignatures)
So..I was wondering, can I get the value (Final grade) of the student from the second report to show it on the first report?
I have a problem on displaying records in crystal reports, I am making a report on displaying the personal information of an employee. I made a parameter for Employee ID in which you have to enter the Employee's ID to view his/her information and print it. But I don't have the option to choose all the employee in which I can print all the employees profile at once. What I wanted to happen is that when I am not entering any Employee ID from the text-box it will display all the Employee information or profile and I can just click the next button in the report viewer to see the other employee and when I Click print it will print all the employees information. Can you help me with this guys...
Thank you in advance.
By the way I am using vb.net and MySQL database for this project...
In the created static parameter add one default value All.
if you want to select all then select that paramter and in record selection formula write below code.
if {?parameter} <> "ALL"
then table.employeeid = {?Parameter}
else table.employeeid=table.employeeid
Try like this
{view_dtr.dtr_date} in {?date_from} to {?date_to} and if {?emp_id} <> "ALL" then
{view_dtr.employee_id} = tonumber({?emp_id} )
else
{view_dtr.employee_id}={view_dtr.employee_id}
Is it possible to show data from database in SSRS footer?
I tried but the only option present is to show first record from dataset. But I want to show all records (I just need to show one column) one by one on each page.
Is it possible?
Based on your comment I believe this link Display on Page Footer is what you are looking for.
I tried this and it works on Page Footer.
One way to do this is by making your report a list of subreports.
Make a new report with a List item and a dataset that gets a set of all the departments you are going to get. Consider this to be your "List" report.
Populate the list with the dataset. Put a page break between List item members.
Make another report (or modify your existing one so) that is designed to be a single-page report about a single department, so #department will be one of the parameters. It contains all the data you want on each page of your report, including the footer with the Department name, which it gets from the department parameter, so it doesn't need to get it from a dataset. Consider this your "Base" report.
Going back to your List report, put a sub-report in your List item, point the sub-report to your Base report, and populate the department parameter with the value from the dataset that is populating the List.
Yes, it is possible using the "Lookup" aggregate function.
Assume, your report has a dataset named "Department_DataSet" which contains all the department's data plus one additional column e.g. PageNum, that contains an integer sequence starting from 1, giving you, basically, a sequence of the report page numbers:
PageNum | DepartmentName | Address | etc.
--------+------------------+------------+-----
1 | Department 1 | ... | ...
2 | Department 2 | ... | ...
...
N | Department N | ... | ...
Now, add a Textbox into the footer and assign the following expression to it:
=Lookup(Globals!PageNumber, Fields!PageNum.Value, Fields!DepartmentName.Value, "Department_DataSet")
and it will show the department name as required, but please ensure that the page numbers go in the same order as the departments in your detail report.
At the login form, I used DoCmd.ApplyFilter , "Department = 'Finance'"
to restrict user view on the main form so that if the ID and password
match with the Finance department, the form will only preview the data
from of Finace department's staff. I also put the combo box,FindNextRecord
and FindPreviousRecord to make it become more user friendly. However, the
combo box doesn't filter the name and show the list of every staff from
different department. Is there is any way to filter the combo box so that
it will only show the staff name from the Finance department
note: Every details of each staff are recorded in a single table.