SSRS 2008 - Expression for totals in a Matrix

Hi,
I have a simple Matrix with the following groups:
Row Group: Program
Column Group: Employee
I need to add a new total column on the right side of the matrix using a simple calculation but I haven't been able to find how to do that other than doing it on the query side. Here's how the Matrix looks like:
Program
Employee1
Employee2
Employee3
New Column
Program1
45.0%
0.0%
87.5%
Program2
12.5%
50.0%
3.8%
Program3
28.8%
1.3%
8.7%
Program4
1.3%
23.8%
0.0%
Total
87.6%
75.1%
100.0%
The new column should display the sum of each program divided by the sum of all totals....for example for Program1 the calculation should be (45+0+87.5)/(87.6+75.1+100) which should be equal 50.44% ...the same logic applies for the other
rows.
The number of columns (Employees) and rows (Programs) are dynamic, so they change according to who is seeing the report. I'm unable to reference the sum of the total at the bottom row, not sure what I am missing.
Any input on this is greatly appreciated.

Hi Cleber,
I have tested on my local environment and your issue can be caused by you haven't include the scope in the sum function, please find details information below about how to do the calculation:
Please design the matrix like below:
You can find the Row Group name is "Program" and the Column Group name is "Empolyee", this will include in the sum expression as below:
Expression1: =SUM(Fields!Amount.Value,"Empolyee")
Expression2: =SUM(Fields!Amount.Value,"Program")
Expression2: =Sum(Fields!Amount.Value,"Program")/Sum(Fields!Amount.Value,"DataSet1")
Preview you will got the result like below:
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support

Similar Messages

  • Ssrs 2008 r2 straight line within a matrix

    In an SSRS 2008 R2 new report have placed a matrix on the end of the report for information the user wants to see at the end of the report. The user wants to place a straight line between the different infomation sections in the tablix. Here are the problems
    I am having:
    1. In a row I would like to merge 2 cells together so that a line placed within the matrix is the same length. The problem is that I do not know how to merge the cells.
    2. When I drag a line into a cell in the matrix, the line is not straight. The line points to an angle. I have tried to change the properties of the line on the endpoint values but that has not worked. Thus can you tell me how to make the line placed within
    a matrix cell to be straight?

    Take a look at this post for inserting a horizontal (or vertical) line into a tablix cell:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/397d6dc4-766a-43c9-9706-5370a2bfaeb4/insert-line-into-table?forum=sqlreportingservices
    For merging cells, you simply select a set of contiguous cells, right-click, merge cells. There is a catch of course. The catch is that all of the cells you are trying to merge must be in the same scope. Below are some screenshots showing a simple Matrix
    with 1 column group and 1 row group.
    As you can see in this screenshot, I have selected 2 adjacent cells that are both in the same scope, and merge cells is available.
    In this screenshot, I have selected 2 adjacent cells that are not in the same scope. The left cell is only scoped by the row group while the cell on the right is scoped by both the row and the column group. As a result, I cannot merge the cells.
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • Microsoft SQL Server 2008 Express for SAP BusinessObjects Enterprise 4.0

    Hi Expert,
    I'm going to install SAP BusinessObjects Enterprise 4.0 on my virtualized system (vmware) composed as: windows server 2008 Enterprise Edition R2 + Tomcat. I have some doubts related to the DB version to choose.
    Due to the fact that Microsoft SQL Server 2008 Express is bundled with SAP BOE 4.0 I want to use this DB.
    However, I saw in the Microsoft Portal that Microsoft SQL Server 2008 Express (http://www.microsoft.com/sqlserver/en/us/product-info/compare.aspx)  that:
    Number of CPUs     1
    Maximum memory utilized     1 GB
    Maximum database size     10 GB
    These my doubts:
    1) Could these characteristics  generate performance issues for a production environment?
    2) Which is a typical DB size for a production enviroment? could be greater then 10 GB?
    3) Can I use Microsoft SQL Server 2008 Express  in a virtualized system (vmware)?
    Thanks in advance for collabortion
    regards
    gio'

    Hi Gio
    Remember that the BOE system database (or repository) only has a few tables in it, with really one main table that stores a reference to each folder, report, user, group, server, etc. on the system. So the table and the database itself do not grow very large. In the past year, we have done over 70 SAP BusinessObjects projects and I can't recall one where the database size would even approach 5GB in total, let alone 10GB.
    The reason for this is that the database only stores a reference to the physical objects and content within BOE-- the actual reports, universes, etc. are stored on the file system within the Input and Output file repository folders.
    And the memory constraints are not really an issue either with BOE-- the database itself does not come under much strain during the day-to-day operation of the server. If you believe that the memory may be an issue, you can always start with SQL Server 2008 Express and then using the new tools in the 4.0 CMC to monitor the memory usage on the server. If you need to, you can move the system database to another SQL Server edition, or alternately move the database to another one of the supported platforms, including Oracle, DB2, etc.
    Hope this helps!
    regards
    David

  • SSRS 2008 Pie chart Total

    Hi ,
    I have pie chart with value 30 ,10, 10.
    My legend showing category wise values but I also want to  show Total value 50 in graph .Is it possible .
    Akhilesh Sahu Sr.Software Developer

    Hi Akhilesh,
    If I understand correctly, you want to show total value on the legend. As per my understanding, a legend item is connected to an individual series on the chart in Reporting Services. The chart automatically adds items into the legend base on the series that
    are generated from your data. So in your scenario, you want the totals show on the legend, then you need to customize the legend. While in SQL Server Reporting Services, the custom legend is not supported in chart control.
    To work around the issue, I suggest that we can delete the original legend and create a custom legend outside the chart area by using a tablix control. In this case, we can show the total on the tablix. For more details, please see the following thread:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/cfb4fa19-b2ba-426a-804b-b5ea83d70d62/ssrs-2008-chart-legend-missing-customitems-property
    If you have any other question, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Not being asked for credentials in SSRS 2008 R2 for Firefox and Safari

    I have an instance of SSRS 2008 that is currently working on all browsers (the URL is something like reports.foo/reports).
    I spun up a new instance of SSRS and placed it on the url report01.foo/reports.  This new instance is connected to a different domain (I am spining up a Active Directory Domain and trying to build out our infrastructure, so the logins are different). 
    I am able to access the new URL (report01.foo/reports) from IE and Chrome.  It is asking for the username/password and able to get on just fine.
    However, when I try to go to the new URL (report01.foo/reports) using Safari and Firefox, it never asks for credentials and shows a blank page.  This does not happen for the old URL (reports.foo/reports), only the new URL.
    Any ideas?

    Hi Ben,
    Per my understanding that you have configured windows authentication and which by default will not prompt for credential. So I assumed you have changed the User Authentication setting in the security setting to pop up for credential, for example like below(IE),
    If so, your issue about the pop up credetial not pop up in Firefox and Safari can be caused by the related security setting, If you give Anonymous User rights, you may got the blank page:
    Details information about similar issue in threads below for your reference:
    how to change reporting service site seurity setting?
    SSRS in firefox not asking for credentials
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • Microsoft SQL Server 2008 Express for SAP BO BI 4.0

    Dear Experts,
    I am curently installing a SAP BO BI 4.0 with the bundle database, and after watching the thread  10610337 and http://www.microsoft.com/sqlserver/en/us/product-info/compare.aspx I am wondering if the SQL server express is sufficient for a usage of BI .(we will also add on this instance the Data Services)
    I don't know how the data are stored (is that like BW ?) and if it will need a large disk space ?
    According to your experience, are the 10 Gb database space of SQL express are ok for a development environment ?
    Best Regards,
    Thibaud.

    The bundled DB with BI4.0 is provided as a sample and as a means to quickly deploy product.
    You should use your company standard DB solution for any serious BI4.0 deployment.
    The bundled DB should be enough for Development or test/sandbox type of deployments.
    As to the required size - it depends on what and how exactly you're going to use it - without a proper Sizing exersize it is impossible to say.
    see sizing section on SMP for more details on that.

  • Ssrs 2008 r2 rectangle causes first page to be blank

    In an SSRS 2008 r2 report I have 6 matrixes that I placed into 1 rectangle so that all the individual items do not float.
    The problem is that the first page of the ssrs 2008 r2 report is blank when the report is executing.
    I have set the report properties to: landscape, custom paper size, width 14" and height = 11". The report properties are width 14 inches and the height is 11 inches. The body properties keep changing to 26.75719 inches and width = 13.54667 inches.
    When I set the border of the rectangle to solid,  I can see the rectangle when the SSRS report is executing. The rectangle appears before any of the matrixes are displayed. However when I look at the rectangle in design mode, the rectangle is around all
    6 of the matrixes.
    Thus could you tell me why the rectangle is displayed in a different location when the report is executing and not around all the matrixes at that point?
    If there is no property that can be set, then should I have more than one rectangle? To place the objects into separate rectangles, I want to mention that that there is a header matrix and a summary rectangle that need to be shared. Matrix #2 and Matrix #3
    are for students in grades 01 to 08. Matrix #4 and #5 are for students in grades 09 to 12.
    Can you tell me what I can do so that I do not have a blank first page when the SSRS 2008 R2 report is executing?

    Hi wendy,
    If we want to use a rectangle as a container for other items, we should drag them into the rectangle. When we move the rectangle, the items that are contained within the rectangle move along with it. An item within the rectangle shows the name
    of the rectangle in its Parent property.
    For more information about using a rectangle as a container, please see:
    Add a Rectangle or Container (Report Builder and SSRS)
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • SSRS 2008 - ServerReport.SetParameters() suddenly extremely slow

    Hi,
    We have been using SSRS 2008 R2 for quite a while now but 3 weeks ago we started to notice some performance problems when generating SSRS reports. We have a .NET client which gets the list of reports from the server and then the end user can select a report,
    enter the parameter and then view the report in our client.
    So 3 weeks ago users started to notice that when they clicked on a report (and in the background we load the parameter prompts etc.) it took almost a full minute. When normally this would only take a few seconds. I have narrowed it down to the method mentioned
    in the title. When we call the method ServerReport.SetParameters(parameters) our client has to wait for that one minute.. This also does not go away when you run the report a second time. This is becoming a real problem as our users produce a lot of reports
    during the day and every time that method is called the client has to wait 60 seconds. This was not the case 3 weeks ago, I have already checked if something was changed on the server etc. but everything looks okay. Went through the logs etc.
    Could it be that our ReportServerTempDB is getting too big? When I checked the logs I saw that the Clean Batch() is running every 10mins so this looks ok. Will check with our Infrastructure Team later to see how big the ReportServerTempDB is and if it is
    possible to purge some of the data.
    I also read a about report caching but I am unsure if this helps at all and/or which form of caching to use. Our users run a certain amount of reports on a daily basis where only the date range changes (today they run it for 01.08.2014, tomorrow maybe for
    02.08.2014 and so on). Would caching help in this case?
    Any other things I might be overlooking or that you think could cause the problem?
    Thanks a lot!
    Fabian

    Hi Fabian,
    According to your description, the reports performance become poor in the latest three weeks. And you think the issue is caused by the ServerReport.SetParameters Method. As per my understanding, there does not performance concern of SetParameters or other
    method among Report Manager, Report Viewer or URL Access. Because every call to Reporting Services will use the same Programmatic interface to render a server report. We can try to directly render the report in report server to check whether it related to
    the method.
    Besides, I think the problem is duo to the cache of the .NET compilation or the HTML render. We can try to clear the cache and restart the server to check the issue again.
    The following similar threads are for your reference:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/cced1e18-bba0-4d2c-98a1-d245cc2c2b13/reportexecutionservice-vs-reportmanager-performance
    http://stackoverflow.com/questions/2274317/c-sharp-winforms-reportviewer-performance-issue-using-refreshreport-and-server
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to clearn SSRS 2008 R2 Exceution Logs

    Hi
    I am using SSRS 2008 R2 for my reports and dashboard development, also to check all the report and dashboard usage I have created few reports usage reports.
    Now for next year 2015 I want to clean all previous reports execution logs data from the table.
    So please provide me query or tell me how can I do this???
    Thanks

    Hi YLee_1980,
    According to your description, you want to clean all previous reports execution logs data.
    In Reporting Services, deleting the execution log is executed by the stored procedure [dbo].[ExpireExecutionLogEntries]. If we want to clear the execution log, we can set the expected value for ExecutionLogDaysKept, then execute the stored procedure [dbo].[ExpireExecutionLogEntries].
    Please refer to steps below:
    1. Display the existing execution log.
    2. Specify the value(10) for ExecutionLogDaysKept by the query below:
    Use ReportServer
    update ConfigurationInfo set Value='10' where Name='ExecutionLogDaysKept'
    3. Execute the query below to delete the corresponding execution log.
    exec [dbo].[ExpireExecutionLogEntries]
    4. Display the left execution log.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • Ssrs 2008 r2 display only final total amount

    In an existing ssrs 2008 r2 report, I want the final grand total to appear as the last amount displayed in the SSRS report.
    In the 'main' matrix of the report, I have created an outside group row below the last line of the matrix.
    The expresion for this statement looks the the following:
    ="Grand Total: $"+str(sum(cdec(Fields!TransactionAmount.Value),"datasetname")).
    The total amount is correct, but this total amount line appears after every control break. Basically the amount appears every
    time the control break changes by date, teacher, or student number.
    The extra row I added does contain grouping references to date, teacher, and student number. Thus to solve my problem:
    1. Can you tell me how to remove the grouping references to date, teacher, and student number so that the last row will be the only place the total amount will be displayed?
    2. If the above is not an option, can you tell me how to add an extra row to the 'main' matrix so the report groupings do not appear on the final total line?
    3. If the above 2 choices are not an option, would you tell me how to add the final total line in the final report footer and/or any place you believe the final total amount will appear only one time?

    Hi Wendy,
    According to your description, you want to add a row into your matrix to get the total value of TransactionAmount. This can be final total value which appears only one time in your matrix. Right?
    In this scenario, the reason why the total amount line appears after each break change (data, teacher..) because this total amount line is still within the parent group. I guess you didn't add the outside group row on the top parent group. So we just need
    to right click on the textbox which is top parent group, insert a row outside of group. Then put your expression into the added row. Now the total amount will appear only one time in the matrix. It looks like below:
    Reference:
    Understanding Groups (Report Builder and SSRS)
    If you have any feedback on our support, please click
    here.
    Best Regards,
    Simon Hou 

  • Calculate percentage between two rows in a matrix report with a single row group in SSRS 2008

    I need your help. I have a matrix report in ssrs 2008. The report contain one field value column and one value column. I need to calculate a percentage for two values. For example : row 1 : Discount 10 Row 2 : Sales 100 Result : 10/100. I have only one
    row group, I need to have a condition where Field = Discount % on Revenue then Discount/Total Turnover. Because of the  grouping for total, I am not being able to calculate the %, its just totalling the % discount. Kindly refer to the snapshot of the
    report.

    Hi Thanks a lot for your answer, but unfortunately it didn't work,the report is reading from a stored procedure which I have unpivot to convert all columns into rows, so that's why Discount % on Revenue, Discount and Total Turnover is found in one column.
    So the Field!Col.Value is the Discount % on Revenue, Discount and Total Turnover. I have tried to change the code to
    "=SUM(IIF(Fields!Col.Value = "Discount",Fields!value.Value),0))
    /IIF(SUM(IIF(Fields!Col.Value = "Turnover Total",Fields!value.Value),0)) = 0 ,
    Nothing,SUM(IIF(Fields!Col.Value = "Turnover Total",Fields!value.Value),0)))" but to no avail. Any other suggestion will be most welcome.
    Thanks.
    If everything you're getting from stored procedure then you need to calculate and bring the value from there itself.
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Ssrs 2008 'select all' option to be selected for a parameter

    In a new ssrs 2008 report, the problem is all reports are not selected from the parameter called 'report' when the report runs automatically.  When the report executes, there is nothing displayed in the parameter selection  dropdown box. The user
    has to click the down arrow to select which reports they want to execute.
    Here is the siutation for the ssrs 2008 report:
    In a new SSRS 2008 report, I want to be able to allow the user to select which report they  would like to see generated by selecting the report name from a dropdown list. This is a multi-valued parameter and the parameter name is called 'report'. I
    would like the default value to be for all 5 reports to be selected.
    All 5 reports will be on the 'main' report. There will be no subreports. Each report will have its own unique matrix and the matrix will be visibile based upon what is selected in the parameter called 'report'.
    My question is how can I make the 'default' value for the parameter called 'report' have all the reports selected?
     Normally to get all multivalued parameter values selected you create a dataset and run a query against a table. However in this case, there is no table to query. The user just selects what report(s) they want executed.
    Here is the code that is used:
    1.Right-click the multiple parameter ‘repot’ to open the Properties dialog box.
    2.Specify the values below in the Available values:
     Label: report1                                                
    Value: report1
     Label: report2                                                
    Value: report2
     Label: report3                                                
    Value: report3
     Label: report4                                                
    Value: report4
     Label: report5                                                
    Value: report5
    3.Specify the values below as the Default Values:
     report1   report2   report3   report4   report5
    4.Right-click the ‘report1’ to open the Tablix Properties dialog box.
    5.Select Visibility in the left pane, type the expression below in the “Show or hide based on an expression” textbox:
     =iif(InStr(join(Parameters!report.Value,","),"report1")>0,false,true)
    6.Use the expressions below to control the visibility of the ‘report2’, ‘report3’, ‘report4’, ’report5’:
     =iif(InStr(join(Parameters!report.Value,","),"report2")>0,false,true)
     =iif(InStr(join(Parameters!report.Value,","),"report3")>0,false,true)
     =iif(InStr(join(Parameters!report.Value,","),"report4")>0,false,true)
     =iif(InStr(join(Parameters!report.Value,","),"report5")>0,false,true)
    Thus can you tell me how all values from the 'report' parameter can be selected automatically  when the ssrs report is executed?

    Pass default value as below and see
    =Split("Report1,Report2,Report3,Report4,Report5",",")
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to calculate percentage and difference of two values in matrix report in ssrs 2008

    Hi everyone,
    DB--SQL server
    SSRS-2008
    I am creating matrix report with grouping on WEEK and Fiscalyearweek,
    I need to calculate of difference between FY14W01,FY15W01 ande  percentage of those..
    how to calculate in ssrs level.
    Thank You, Manasa.V

    Hi veerapaneni,
    According to your description, you want to calculated the increment percentage and difference between two fiscal year week within each week. Right?
    In this scenario, since we need to do calculation based on values between dynamically generated cells, we can't simply use expression to achieve this goal. In this scenario, we need to use custom code to record the value for fiscal 14 and fiscal 15, then
    we can calculate the difference and percentage within the column group. We have tested your case in our local environment, please refer to the steps and screenshots below:
    1. Add the custom code below into the report (you may need to modify the data type based on your scenario:
    Public Shared Value1 as Integer
    Public Shared Value2 as Integer
    Public Shared previous as string
    Public Shared previousweek as string
      Public Shared Function GetValue(Value as Integer,product as String,Week as String) as Integer
    If product =previous and Week =previousweek  Then
         Value2=Value
    Else
    previous=product
    previousweek=Week
    Value1=Value
    End If
         return Value
      End Function
      Public Shared Function GetPct()
         return (Value2-Value1)/Value1
      End Function
    Public Shared Function GetDiff()
         return Value2-Value1
      End Function
    2. Design the matrix like below:
    3. The result look like below:
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How to calculate difference and percentage in matrix report dynamic columns in SSRS 2008

    Hi Friends,
    I need to calculate Difference and Percentage In matrix report SSRS 2008
    1) Row grouping based On Product
    2) Column Grouping Week and Fiscal Year Current week  and Previous Year same Weeks 
    3)Data Invnetory(Value fileld)
    Example:
    If value1 and Value2 Available we need to calculate Percentage and Difference.Otherwise Not required NA I need to Show.
    For example If Particular week,Current year data is available,Previous year  week data is not available No
    need to cal Diff and Percentage we need to show Empty.
    Below Code is working for If two values is available.
    If any one of the fiscal year week data is not there it's taking some garbage values.
    I tries with If condition in GetPCT() and GetDiff() It's not working.
    Can some one please help me on this.
    I am using the custom code 
    Public Shared Value1 as String
    Public Shared Value2 as String
    Public Shared previous as string
    Public Shared previousweek as string
    Public Shared Function GetValue(Value as String,partner as String,Week as String) as String
    If partner =previous and Week =previousweek Then
    Value2=Value
    Else
    previous=partner
    previousweek=Week
    Value1=Value
    End If
    return Value
    End Function
    Public Shared Function GetDiff()
    return Value2-Value1
    End Function
    Public Shared Function GetPct()
    return (Value2-Value1)/Value1
    End Function
    How to handle this.
    Thank You, Manasa.V

    Hi veerapaneni,
    According to your description, if one of the fiscal year week doesn’t have data, the custom code returns false results.
    For your requirement, if NULL value exists in the database, we should replace it as zero then perform calculate. So within the code, we should judge whether the value is NULL. To achieve your goal, please refer to the steps below:
    1. Create a table like below.
    create table dif4
    ([Product Group] varchar(50),
    [Week] varchar(50),
    [Fiscalyearweek] varchar(50),
    value int
    insert into dif4 values
    ('Desktops','W01','FY14W01',0),
    ('Desktops','W01','FY15W01',45),
    ('Desktops','W02','FY14W02',null),
    ('Desktops','W02','FY15W02',30),
    ('Desktops','W03','FY14W03',12),
    ('Desktops','W03','FY15W03',50),
    ('Notebooks','W01','FY14W01',35),
    ('Notebooks','W01','FY15W01',56),
    ('Notebooks','W02','FY14W02',45),
    ('Notebooks','W02','FY15W02',87),
    ('Notebooks','W03','FY14W03',75),
    ('Notebooks','W03','FY15W03',105),
    ('Tablets','W01','FY14W01',34),
    ('Tablets','W01','FY15W01',46),
    ('Tablets','W02','FY14W02',49),
    ('Tablets','W02','FY15W02',96),
    ('Tablets','W03','FY14W03',42),
    ('Tablets','W03','FY15W03',113)
    2. Add the custom code in the Report Properties.
    Public Shared Value1 as Integer
    Public Shared Value2 as Integer
    Public Shared previous as string
    Public Shared previousweek as string
    Public Shared Function GetValue(Value as Integer,product as String,Week as String) as Integer
    If Value=Nothing Then
    Value=0
    End If
    If product =previous and Week =previousweek Then
    Value2=Value
    Else
    previous=product
    previousweek=Week
    Value1=Value
    End If
    return Value
    End Function
    Public Shared Function GetPct()
    If Value1=0 Then
    return 0
    Else
    return (Value2-Value1)/Value1
    End If
    End Function
    Public Shared Function GetDiff()
    return Value2-Value1
    End Function
    3. Design the matrix like below.
    4. Then get the expected results.<o:p></o:p>
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Ssrs 2008 r2 use parameters for sorting purposes

    In an ssrs 2008 r2 report, I have a report where a user wants to sort a report based upon the following parameters:
       1. lastName,
       2. firstName, 
       3. studentNumber,
       4. [School Name].
    The above is the default order of how the user wants to be able to sort the report.
    The following is the definition and the columns that are to appear in the report:
             studentNumber varchar(15)
     ,lastName varchar(40)
     ,firstName varchar(35)
     ,[School Name]  varchar(40)
     ,[School of Assignment] CHAR(3)
     ,grade varchar(4)
     , Description varchar(50)
     ,[Beginning Date] smalldatetime
    The above columns are all contained in one tablix.
    The user wants to be able to sort the report by changing the parameters that I just listed
    above.
    Thus can you show me code and/or point me to a url that would show me how to allow the user to sort
    the report in any order based upon the 4 parameters listed above?

    The interactive sort is not what the user wants. The user wants to be able to change the default sort order by using a sort parameter value.
    I know that the tablix and the detail rows of a report have a sort option. I want to be able to connect, the sort parameter values with the tablix sort. I have seen on the internet where each sort parameter value can be represented with a number value.
    I don't  care what is easier, I want to do what the user is requesting. Thus can you show me code on how to accomplish this goal?
    Ok. I just gave you a better option
    If you still want it to be based on parameters you can add one more parameter to your report called SortBy with values of your fields. Then inside sor expresson for your tablix use an expression like
    =Fields(Parameters!SortOrder.Value).Value
    and it will automtically sort based on field you choose from parameter
    Only thing you need to make sure is that values given for SortBy parameter combo should be exactly same as your field names used in your report dataset.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Maybe you are looking for