MS Access - How to add a name to Group Header - ms-access

I feel like I'm going crazy looking for a setting to give a Group header a name that will display in an Access report. So I'm using Office 2013 and I'm making a report that includes a "Category" field. I want to group the report by these different Categories. This is easy to do - Group & Sort -> Click Add a Group -> Select the field I want to group by. BUT I cannot figure out a way to give distinction to these headers that now appear throughout the report. It's just a bar with no words on it. Is there anyway to add the name of the Category (name of the field that is used to create the groups) onto the group header?
Please help!
Edit: If it matters, the data is being pulled from a SharePoint list.

Add a textbox bounded to the category field in the group header

Related

[SSRS][SharePoint] How to avoid display the elements when counting on a group by tablix?

New to SSRS, we asked me to create a simple report on SSRS, linked to a Sharepoint List.
The Report consists of a tablix with two columns: Client and the number of orders they passed.
The first column is only containing the sharepoint field "Client Name", and the report generate automatically a list of Clients based on the content of the Sharepoint List. The Column is also used as a group by to the Tablix, to group the results by Client Name.
My second column is an expression :
=Count(Fields!ID.Value, "Client")
The column is working nearly accordingly to my willing : the report displays the number of orders by client in the list, but... When a client has more than one order, the count is displayed the same number of times.
How can i prevent that? I tried a Running Value solution, or only count.. But if the results are not the right one, the same problem is occuring : The report tablix have as much rows than elements list.
Picture for helping, because my english is far for perfect.
Image of the multiples rows
You can set client column in group expression in Details section. Check below screen shot, It will help you.

SSRS Custom Page Names

How do you custom name only the last page in a report? in a way where it overrides any page names already generated from any groupings.
There are at least two ways to do this.
The easiest is if you can change the last group name in your dataset to be whatever you want. However, I guess this is might not be suitable.
The second way
There are a few assumptions here as you have given almost no information in your question.
Assumes your group is sorting alphabetically.
Let's assume your groups are department names.
Accounts
Client Service
Sales
Warehouse
Your page name expression would be something like
=IIF(Fields!GroupColumn.Value = MAX(Fields!GroupColumn.Value, "myDataSet"), "The Last Page", Fields!GroupColumn.Value)
Basically we are just checking to see if the group name is the same as the last (Maximum) group name in the entire dataset, if so, use a literal value, if not just use the group name.

Prevent like data from grouping in table? SSRS

I've seen how to's on how to display combined data however, I would like to keep all data separate in their own rows and columns. It seems to have to do with grouping, but when I attempt to delete the grouping, the report has an error when trying to run. I would like to prevent the cells from combining like in this
When you are creating a report in the wizard, any items that are set in the red Group section will create a new grouping.
You want to place all the fields you want to see in the blue Detail section of the wizard. There is no grouping in the details. If you have a group
Putting fields in the orange Page section will cause a new page to be created for every new value.
In this example, the wizard will create a report that will Page based on the Region. Each region will have it's own section that includes a Vendor group and each vendor group consists of member claims (it's in health care). It will create a new page for each region then group each vendor's members claim within that region.

Multiple Queries in One Report - MS Access

To keep this simple, lets say I have two tables.
The first is called Employees. It contains an id field and an employee_name field.
The second is called Pay. It contains an id field, an employee_id field and an amount field.
Now, I want to run a report on Pay that shows me how much each employee got paid by showing me only the Employee.employee_name and the Pay.amount.
Obviously, I'm going to have to take the employee_id field from the Pay table and match it up with the the id field from Employees, but I have no idea how to do that.
I know a little VBA and am pretty knowledgeable with SQL, but MS Access has me so confused I'm about to kill myself. I hate Access so much, I want to take it outside behind the middle school and get it dead.
This seems like a relatively easy problem, so someone has to know how to do this. Any help would be hugely appreciated.
You are looking for a query like this
SELECT Employees.Id,
Employees.employee_name,
Sum(Pay.amount) AS SumOfamount
FROM Pay INNER JOIN
Employees ON Pay.employee_id = Employees.Id
GROUP BY Employees.Id,
Employees.employee_name;
If you wish to make this as part of a list box, you can either save the sql as a query and set the Listbox property under the Data Tab called RowSource to the Saved Query Name, or you can set the sql string as the RowSource.
Remember to have a look at the Properties called Column Count ( something like 0;3;3 0 being to hide the first column ) and Column Heads (to include column headers, default NO )
If you widh to craete a Report using the data, you can go about this the same way ( Saved Query or Use the Sql String ). The Query/Sql String can be set in the Data Tab in the Record Source property. Now you can add the fields to the report from the Existing Fields window.

Interactive sort over multiple groups in ssrs

I have a report that is grouped by Region and then Office location. The users would like the ability to sort on a date value. I can get it to work for the innermost group (Office location). However they want it to sort the whole table. Any ideas?
Add sorting to the table column.
Right click on the table column ->
Properties
Click on Interactive Sort
Click "Add interactive sort"
For the Sort Expression, put "=Fields!COLUMN_NAME.Value"
I solved this by using a hidden Chart placed outside the Groups.
Set as the following, for the column header that holds the interactive sort:
And for the chart:
At the Category Group, go to Properties, and remove any Sorting from there.
Another simple way to solve this is to add two tablixs. One with the grouping, the other without.
Then you can add a "Group on X" boolean param and show and hide each tablix dependent on the users selection.
The best of both worlds and no need for two separate reports. The user can easily sort and export the entire dataset if required.