Interactive sorting

Hello,
I have a SSRS 2012 report with a calculated field called "NEW MONEY".  It's a simple expression calculated by the following:
=Fields!PURCHASES.Value - Fields!REDEMPTIONS.Value
I'm running into issues when trying to create a interactive sort on the calculated field. The system seems to freeze up on me.
I simple used the  this expression in the interactive sort
=Fields!PURCHASES.Value - Fields!REDEMPTIONS.Value on the header for the calculated field.
Does anyone have any ideas what could be going wrong?
x

Hi malibu2,
Per my understanding that you want to add the interactive sorting on an new added column called ”NEW MONEY” which values calculated using expression: =Fields!PURCHASES.Value - Fields!REDEMPTIONS.Value, when you setting the interactive sorting, you put this
expression in the Sort by: =Fields!PURCHASES.Value - Fields!REDEMPTIONS.Value as the column header, now interactive sort setting don’t work, right?
I have tested on my local environment and can reproduce your issue, you problem can be caused by the wrong way you are creating this calculated field and setting the interactive sorting, if you add the expression “=Fields!PURCHASES.Value - Fields!REDEMPTIONS.Value”
in the table’s new column and type the “NEW MONEY” in the Column header, then set the interactive sort using expression in the column header which will makes the sorting not work.
Actually, jakkampudi have mentioned to create an Calculated field and drag this field to the new column. You can take reference of details steps below to do the correct action:
Right click the DataSet and select the “Add Calculated fields”
Click Add to add the new Calculated field.
Name: NEWMONEY
Value: Fields!PURCHASES.Value - Fields!REDEMPTIONS.Value
Insert an new Column and Drag the NewMoney fields to this Column.
Right Click the column header “New Money” and select the “Text Box Properties”, Select the Interactive Sorting and do the setting as below:
When preview you will find the interactive sorting works fine.
If your problem still exists, please feel free to ask.
Regards
Vicky Liu

Similar Messages

  • Reporting Services Error after Interactive sorting and drill down in pps

    Hi 
    i have a report  that has a drill down option that shows all workgroups within a specific  parent group and an interactive sorting ass well on both columns  parent group &  workgroup 
    This is displayed  in pps combined with a SharePoint
    ---the problem is that after sorting the parent group column by name   i then press the drill through icon  (+) next to it hopping to see all workgroups related to each parent group
      - but instead 
    i receive this Reporting Services Error  :
    The value for parameter 'SortItem' is not specified. It is either missing from the function call, or it is set to null. (rsMissingParameter) Get
    Online Help       
    If I don't press the sorting and just drill through it works fine. the sorting itself also works fine. 
    any suggestions ?
     

    Hi Hyaron,
    I am unable to reproduce the issue in my test environment. How did you add the drilldown feature? Were you doing that by setting visibility of the column or of the group? Please ensure to add the drilldown functionality by set the visibility of the workgroup
    from the Grouping Pane in the Report Designer.
    How did you add the Interactive Sorting on the headers of the two columns? Based on the drilldown functionality, the Interactive Sorting on the second column doesn’t work. So, you can move the Interactive Sorting on the second column. When configuring the
    Interactive sorting on the first column, you should set the parent group to sort, and sort by the field that the parent group groups by.
    Hope this helps.
    Regards,
    Mike Yin
    TechNet Community Support

  • Interactive sorting using java crystalReportViewer

    we are building a crystal report web project using eclipse gallieo.
    technologies used are Struts2 AND jsp.
    And our requirement is to show interactive sorting as well as to export as HTML as crystal report viewer toolbar option .
    we have done a lot searching using google but didnot find any useful.
    so if it is possible please provide some code for it.

    An old fashioned way to add dynamic  sorting is to use a group on a variable that reverses the letters of the text values depending on which column and whether user chooses Ascending or Descending.  Does not even need SDK.  The HTML export can be done using report parts but will not do well for full complex reports.
    We provide  both these features in our Dashboard Launch product seen on the Ecohub
    http://ecohub.sdn.sap.com/irj/ecohub/solutions/dashboardlaunch
    thanks
    Kevin

  • Pagination and interactive sort for drilldown report doesn't work fine

    Hi Anyone,
    I have a drilldown report includes three groups. I add the last group for pagination. But the details in each page doesn't accord to I specified and the detail record number is different in different page.
    Another issue is the interactive sort always sort in the first page scope. I set the data region or grouping to the table, and evaluate expression scrope to Detail scope.
    Anyone has experience on that?
    Thanks a lot

    Can you explain your scenario giving screenshot to make us understand how your groups are?
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Can values returned by a lookupset be used for interactive sorting or a report filter?

    I have a report that uses multiple stored procedures. I am using the lookupset function to return the values, then I sum the values with custom code, and have them display all into one tablix. However I can not figure out how to use interactive
    sorting or a report filter with values returned by the lookupset function.
    My question is:
    Can you use values returned by a lookupset for interactive sorting or a report filter?
    Thanks!

    Hi WGiff,
    Based on my understanding, you want to perform interactive sorting or filter for the values which come from multiple datasets.
    In Reporting Services, LookupSet()function is used to retrieve a set of values from the specified dataset. So in your scenario, we should use Lookup() function to retrieve values from specified dataset, then perform interactive sorting or filter.
    As we tested in our environment, we retrieve values using Lookup() function form datasets, then sum these values with custom code. After enable interactive sorting or filter for these values, we can get expected results.
    1. Add custom code below in Report Properties.
    Public Shared Value as Integer=0
    Public Shared Function GetValue(Item as Integer) as Integer
    value= value + Item
    return Item
    End Function
    Public Shared Function GetTotal()
    Dim a as integer
    a=value
    value=0
    return a
    End Function
    2. Enable Interactive Sorting.
    3. Add filter within the group.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • SSRS - Interactive sorting based on aggregate function

    Hi,
    I'm trying to add interactive sorting to one of the columns in my tablix.
    The soring should be based on the LAST visit date of my child grouping. However interactive sorting is not compatible with aggregate functions apparently.
    I'm using the following expression to sort on the period since the last visit:
    =DateDiff(
    "d"
    ,LAST(CDate(Fields!Visit_date.Value))
    ,Today()
    Anyone an idea how to get this done?
    Regards,
    LiskieWhisky

    Thanks for the input,
    Qiuyun Yu: I already applied your method but my issues is that the visit dates are on de level of my
    child grouping and per child multiple visit dates are possible. Since I want to complute the days since the last visit I need to take the last visit date and subtract it from today's date.
    As you can see there are 2 dates. To compute the days since the last visit I take the last visit date (2015-04-17)
    and subtract it from today (2015-04-27). This gives me 10 days. That's ok, no problem there.
    But because I'm using the Last() function, I cannot use this expression in the Interactive sorting expression.
    LucasF: You are right, but if it's possible to do this in the report I'd prefer that. But ultimately if it's necessary I'll have to do it in MDX then.
    Kind regards,
    LiskieWhisky

  • Interactive sort order display

    How can I display the order in which the user has clicked the report columns using interactive sort feature?
    If I apply the interactive sort on two columns and user sorts first Column1 and then (holding Shift key) sorts Column2, then it is different sort order than when he clicks Column2 and then Column1.
    Unfortunately in both these situations, the column headers look the same. You can't tell which column used clicked first (which column is first in the sort order).
    I want to display the sort order before the tablix:
    - sort order: Column1, Column2
    or
    - sort order: Column2, Column1

    Hi jedrekc,
    According to your description, you have two columns with interactive sort in your report. Now you want to display the sequence of sorting so that you can see which column is sorted first. Right?
    In Reporting Service, we don’t have any variable or function to record some kind of event like you click on interactive sort icon. That means we can’t catch this click action so that it’s impossible to display the column names based on sorting order. So
    currently, your goal can’t be achieved.
    However, this kind of requirement is sensible and useful. I would recommend you to submit it as a feedback to the Microsoft Connect at this link https://connect.microsoft.com/SQLServer/Feedback.
    This connect site will serve as a connecting point between you and Microsoft, and ultimately the large community for you and Microsoft to interact with. Your feedback enables Microsoft to offer the best software and deliver superior services, meanwhile you
    can learn more about and contribute to the exciting projects on Microsoft Connect. 
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou (Pactera)

  • SSRS Interactive Sort Headers Not Showing

    I've written a basic report 7 columns and added interactive sort, but the sort buttons do not show in my headers when i run the report, suggestions?

    Hi ,
    Interactive sorting based on Textbox Properties.
    So i'll suggest you to select first column Header textbox -> Textbox Proprties -> Interactive Sorting -> check enable option -> sort by column
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem.

  • Only shows first page after interactive sort.

    We've developed a number of reports on Reporting Services 2005. These are going to be displayed to the users via a browser embedded in an application using the standard ReportServer URLs, with the toolbar and parameters hidden. Parameters are passed via
    the URL.
    As there is no toolbar, for multi-page reports pages are displayed below each other, with a gap and the header row (column names) repeated. This is how we want it to be. The problem comes if you add an interactive sort to a column. It displays fine initially
    with the pages below one another as before, but when you click the interactive sort only the first page is displayed and there is no way to access the subsequent pages as the toolbar is hidden and they're not displayed below as we want them to be. Is there
    any way around this?

    Hi Andy_Cap,
    Thanks for your question.
    According to your description, it seems like for different pages of one specified report, you using one WebBrowser control in your application,
    the WebBrowser’s URL is one report’s standard URL in ReportServer, you had hidden the toolbar and parameters of the report, so you passed the parameters via URL. Although you had added interactive sort to the report, when clicked on the column,
    just the first page changed, the other pages have no effect, right? If I misunderstand your question, please let me know.
    Based on previous understanding, I had tried to reproduce the scenario on my local computer, it works fine. My approach is
    setting the report’s InteractiveSize is 0, thus all of the data will being displayed in one webpage and the Interactive sort has effect.
    1. Double-click the report in the Solution Explore, select Report in the Properties window.
    2. Locate to the property of InteractiveSize, expand it, set the Width’s value is 0cm.
    Hope it help you. If there is anything unclear, please feel free let me know.
    Thanks,
    Sharp Wang
    Please remember to mark the replies as answers if they help you and unmark them if they provide no help.

  • Interactive Sort using RAS SDK

    We are creating a report from scratch using RAS SDk. In our report we want to enable interactive (dynamic) sort for some of the columns. We are unable to figure out a method that provides this functionality.
    Thanks.

    I don't think this is possible.  Last time I tried this was when the product released approx 2 years ago and I have not heard of this functionality being added in.

  • 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

  • Difference between Drilldown report and Interactive report

    There is no difference between drill down and interactive report, they are the same.
    With drilldown reporting, SAP provides you with an interactive information system to let you evaluate the data collected in your application. This information system is capable of analyzing all the data according to any of the characteristics that describe the data. You can also use any key figures you wish to categorize your data. You can display a number of objects for a given key figure, or a number of key figures for a given object. In addition, the system lets you carry out any number of variance analyses (such as plan/actual comparisons, fiscal year comparisons, comparisons of different objects, and so on).
    You can produce both simple, data-directed lists (basic reports) and complex, formatted lists in drilldown reporting (form reports).
    Drilldown report provides you with comfortable functions for navigating through your data. For example, you can jump to the next level of detail or the next report object on the same level, hide individual levels and switch between the detail and drilldown lists. It also provides a number of additional functions which let you process lists interactively (sorting, conditions, ranking lists, and so on). SAP Graphics, SAPmail and the Excel List Viewer are also integrated into drilldown reporting.
    The drilldown functions are divided into three groups which differ in the number of functions available. That way each user can choose the functional level most suited for his requirements.
    In addition to the online functions for displaying reports, drilldown reporting also provides functions which let you print reports. A number of formatting functions are available to let you determine the look of your printed reports (page breaks, headers and footers, underscores, and so on).
    The menus and the functions available directly on the drilldown report make it easy to use the information system.
    What is an Interactive Report?
    An interactive report generally works in the following fashion:
    1. Basic list is displayed.
    2. User double clicks on any valid line
        or
        User selects a line and presses as button on the tool bar.
    3. The corresponding event is triggered
    4. Then in the code, the line on which action was done, is read.
    5. Depending on the values in that selected line, a secondary list is displayed.
    6. Steps from 2-5 are repeated till the end.
    From the above explanation, I believe, its clear that, the 20th list, will essentially depend on the "selected line" of 19th list. According to your question, you want to move to 20th list directly, without "a prior list". May I know the exact requirement so that, an appropriate solution can be suggested? 
    Again, your question was, how to move to 20th list directly on pressing of execute button. Its not possible to move to 20th list. You must cross over a basic list, before you can go to a different list level, using the code given by Pavan. 
    What are Drilldown reports?
    The lines of basic list of a drilldown report when clicked, will take the user to the corresponding (standard) object's display.
    For eg: Suppose your report's primary component is purchase requisition, (assume you are printing PR details), and the basic list displays details of many PRs.
    Eg: when clicked on a particular line of the PR basic list, it takes you to std t-code me53 (display of purchase requisition). This is the 'Drill-down' functionality.
    For this, in the at-line selection of your program, as per the above ex: you'll set the parameter ID of PR number BAN (that you can get from Data element) in memory (using set parameter id) and then calling the corresponding transaction (usually skipping initial screen of the std t-code).   
    Likewise, if it's Material Number (Matnr), you'll be displaying MM03 transaction w.r.t. the line's matnr.
    AKSHAT..........

    Good, information. But I think you should post these items in Wiki, in place of forum, as here we have Qns & Ans;  problems and solutions.
    https://www.sdn.sap.com/irj/sdn/wiki
    [ABAP Development > ABAP General ]
    Wiki is the right place for such knowledge base
    Thanks!!
    Regards,
    Vishal.

  • Toggle Group Visibility while sorting results in error

    I have a custom website in which we have embedded SQL Server Reporting Services reports.  
    The report in question has 3 nested row groups.  The parent group is always shown, but the 2 child groups default to hidden and have their visibility toggled by the parent group.  This works fine by itself.
    There are several columns for which we've enabled Interactive Sorting.  This also works fine by itself.  
    The problem occurs when the user sorts a column first, then toggles the visibility of the child groups.  Toggling the groups before sorting works fine for some reason.  The Error only occurs when sorting, then toggling visibility.
    The error is a reporting services error.  It says 
    The value for parameter 'SortItem' is not specified. It is either missing from the function call, or it is set to null. (rsMissingParameter) Get
    Online Help
    There is no parameter in the report called "SortItem", so this seems to be some internal error which is triggered from this specific sequence of events.
    Additionally, this error only occurs when the report is embedded in the custom website.  This error does not occur when running the report in the standard reporting server website or in Visual Studio.  
    Any ideas on how to fix this?

    Hi Jahbreeze,
    Thank you for your question.
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • How can i make an interactive page book in Flash?

    I would like to know how to make an interactive sort of book
    in flash sorta similar to the one
    here and i want to
    turn it into a website, would anyone have any ideas at all of how i
    would go about this, all information would be helpful.
    Or Similar to this one
    http://www.templatemonster.com/flash-templates/12695.html
    Thanks In Advance
    Raph

    Raphael Essoo-Snowdon wrote:
    > anyone? know how to edit it PLEASE :D
    >
    > thank you in advance
    Open the library CTRL L and look for folder call
    "PageElements"
    You will find there movie clips call page1 page2 page3 page4
    etc...
    Every page is a movie clips so whatever you import from PS
    will
    need to be converted to movie clip. Name it page"number"
    according
    to your order and do not forget to give it LINKAGE name.
    To linkage clip you need to right click it while in library,
    go to
    LINKAGE than check the box EXPORT FOR ACTION SCRIPT and type
    the
    page name same as the library name (example) "page88"
    Now, on timeline you have layer call ACTIONS and on 5th frame
    of that
    layer is the place where you add pages using action script
    once all
    the library stuff is in order. You will find there :
    addPage("start");
    addPage("page1");
    addPage("page2");
    addPage("page3");
    addPage("page4");
    addPage("page5");
    Just add as much as you need.... Pretty much it
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Custom Matrix column sort

    Hi Professionals!
    I have a column field as "Age group" in a matrix. I want to sort the order in Ascending. I have given my column field values below in the expression which I have used in the column group properties --> sort but its not working. Can you please
    help me to get the required result.
    =switch(
     Fields!Age_Group.Value = "Less than 18","1",
     Fields!Age_Group.Value = "18-25", "2",
     Fields!Age_Group.Value = "26-34", "3",
     Fields!Age_Group.Value = "35-44","4",
     Fields!Age_Group.Value = "45-54","5",
     Fields!Age_Group.Value = "55-64", "6",
     Fields!Age_Group.Value = "Greater than 65","7")
    Thanks!
    sush

    Susheel for the same you mentioned =switch(
     Fields!Age_Group.Value = "Less than 18","1",
     Fields!Age_Group.Value = "18-25", "2",
     Fields!Age_Group.Value = "26-34", "3",
     Fields!Age_Group.Value = "35-44","4",
     Fields!Age_Group.Value = "45-54","5",
     Fields!Age_Group.Value = "55-64", "6",
     Fields!Age_Group.Value = "Greater than 65","7")
    try going that column and in placeholder properties --> go to number tab --> and select as number. 
    Also try going to text box properties --> interactive sorting window.
    Thanks

Maybe you are looking for

  • Open Directory won't start after crash no logins

    Server was crashed due to work in the room. OD will not start. I've tried every fix I can find, but the main problem is that this command will not work: sudo launchctl unload /System/Library/LaunchDaemons/org.openldap.slapd.plist I also have time mac

  • Disappointment with SAP B1Reports

    Hi, we are using SAPB1 for the last 1 year and i am really disappointed with the reporting quality SAP should not leave this critical portion to partners only , they should provide crystal reports of at least all legal reports , I have 3 different ve

  • Creative Zen:Vision M free

    My mp3-player and creative media explorer freezes whenever i try to import audio files, I haven`t been able to figure out what can cause this and i have tried various files with no success. I haven`t been able to import any audio files in last couple

  • LONG_RAW conversion (using OLE) to file system then import into BLOB column

    To whom it may concern (I will call "hero" or "savior" if you can solve this for me), I posted this message an another thread; but then later thought it would be better in its own thread. I was wondering how to extract the Adobe Acrobat Reader files

  • Order unit

    Hi Gurus, We have not maintained the order unit in the material master , and maintained the order unit BAG in info record. My doubt is can we order for the same venodr with other order unit,  when I am trying to change , by default the system is trig