Is it possible to Rearrange the columns in SSRS reporting services - reporting-services

I have a Matrix report in which the user can select a list of columns related to a particular table using a parameter. I need to rearrange the columns. I'm dealing with dynamic columns so i can't do it in designer mode.
I'm able to move & swap a single column by using two parameters one is to select a particular column we want to move and other parameter is to select a column that my desired column need to place after/before this column. For this I have created a Stored Procedure. It works fine.
Is it possible to rearrange multiple columns before viewing the report?

make the sort order of a the column group a calculated statement using the parameters to determine the sort order

Related

Getting SSRS to aggregate as rows instead of columns

I've constructed a cube using SSAS, and I'm using that cube to fuel an SSRS report. Using Excel, I can generate reports as pivot tables from the SSAS source, and I'm trying to replicate some of that functionality as a report in SSRS instead.
Here's how I have the thing set up in Excel:
As you can see from the pictures, I have several stats that are being displayed per row rather than per column. The results that are displayed per row are aggregated statistics (sum, count, etc...).
How do I accomplish this same thing using SSRS? In Excel, it was simply a question of saying "Move to Row Labels".
You can create a Matrix, set the column group to be by fiscal calendar .
Within the row group you will need to add additional detail rows and place each value on the row.
This should give you the desired results more of less.

Add filter option on each column of the data displayed in SSRS

I am generating a table in SSRS based on the selection made by the user on two filters: Filter1 and Filter2 (say). The table so displayed has 10 columns and I wish to add filter option listing all available values for that column for all 10 columns.
Basically, I am trying to replicate the Excel functionality of filtering down data on each and every column.
Please note that I tried creating a new data set and a parameter taking all distinct values for a particular variable. However, I am still not able to get the desired results by filter the tablix on that parameter
Is there a way I can do that?
You'd need to make a new dataset that is a smaller version of your main dataset. It would need to return all potential values for the column(s) you want to filter in a single column to be used in a parameter.
Without seeing the design of the report or the dataset itself it's quite hard to be more specific.

use two different datasets in single report

I have two different-2 datasets with different fileds which are getting populated through two stored procedures with same input parameters.each datsets have different colums and no of columns around 180,my concern is how will i use these two different datsets in single report with two differents fields(two differnt tables).for one dataset i have used report wizard,but not able to figure out for the second dataset.Please suggest for the same..
You can use two different datasets in different reports regions on one Report. For example, If you have two datasets, lets say DS1 showing EmployeeDetail and DS2 showing SalesInfo. You can use them separately in two tables one showing Employees Details and other showing Sales Info. If you plan to merge this data and use it in one table, These are option.
Recommended option : Re-write your query to create single dataset containing possible data you want to show in tabular fashion.
Would work but would be lot slower : Use DS1 in a table in Main Report where each row contains Epmloyee Detail, Wihtin that Row call a Sub-Report passing EmployeeDetail's key which is related to a column in SalesInfo. Create sub-report showing SaledInfo data, call this report in main report passing key value from DS1 to this sub-report.
Specify data set name in third column
Example:
=First(Fields!fieldname.Value,"DataSet1")
Using two different or multiple datasets in a report is not a problem at all, as long as they do not belong to the same data region (charts, tables, etc.)
In addition to Ron's answer, if you are looking to get data from different datasets in one data region, you could also use Lookup or LookupSet in the field expressions.
Additionally, you may also create one dataset and filter out some data from it in data regions. For example, if you have one big dataset of all employees, and you would like to display all employees that joined in the year 2012 in a table, you could filter out the dataset using Filter properties of table.
You can simply add multiple table in your report , and change datasetName from tablix properties for each of your table .
you will also need binding source to fill that dataset .
this.invoiceTableAdapter.Fill(this.ARQutationDataSet.invoice);

Order SSRS report column

I have a table in SSRS with a column which uses the expression
(Reportitems!Textbox71.Value / Reportitems!morCodeTextbox.Value)
This obviously divides one table filed by another and displays a percentage for each line.
I'm struggling to see how I can then order this percentage column to show the highest percentage in first row and then descending results. When I try and sort the table by going to table properties the available fields only include those from SQL query. Am getting errors when trying to use an expression to sort. Tells me that I can't use report items in sort expressions.
Does anybody know how I can achieve this?
you need to add a Sorting to table by expression: "(Reportitems!Textbox71.Value / Reportitems!morCodeTextbox.Value)"

Make Tablix Column group show when filter returns no rows - SSRS

I am working on some SSRS reports and am running into an issue where Tablix Column groups drop from the table when the filter returns no rows.
Is there any way to make this column appear but with empty cells? I have another tablix grouping adjacent with the same columns and I want the columns to all line up on the multiple tablix.
Am I just missing a simple option?
Maybe add a
UNION SELECT '', n ..., '';
clause to your report query? It's ugly but should work. If you go this route, add a comment for your colleagues (or your future self) that will have to maintain the report.
I have not been able to make these columns appear on the SSRS report end. Specifically I am getting data by month for display. My solution is make a "Result" table on the SQL side with $0 for every combination, then update this table.
Frustrating, but it works.