Sort order and hierarchical columns

I have a report with a hierarchical column (say total, country, city), another dimension (say outdated, actual, undecided) and a measure. In the report should show the results grouped, sorted by the hierarchical column. So i configured the report to be sorted by column one.
But if i click on the + in front of total, i get
+ total actual 200
...... outdated 400
...... undecided 700
+france         actual          150
+germay        actual          50
+france         outdated     300
+germany      outdated     100
+france         undecided    300
+germany      undecided    400
instead of
+total  actual          200
...... outdated 400
...... undecided 700
+ france actual 150
...... outdated 300
...... undecided 300
+ germany actual 50
...... outdated 100
...... undecided 400
Is there a possibility to get the second version?
Thanks
Martin

Ok, this one is on me. The reason for this behaviour is:
The country field has a sort field defined, but (we are still in development) this is allways zero, therefore OBI sorts by zero and assumes, the column is sorted now...

Similar Messages

  • Group by sort order and display accordingly

    I have two groups - primary sort order and a secondary sort order in my report, formula for both follows:
    If {?Sort Order}='1' then {PRODUCT_CUSTOMER_MNT_V.CUSTOMER_NAME}
    else if {?Sort Order}='2' then {PRODUCT_CUSTOMER_MNT_V.PRODUCT_ID}
    else if {?Sort Order}='3' then {PRODUCT_CUSTOMER_MNT_V.CUST_REVISION_LEVEL}
    else if {?Sort Order}='4' then {PRODUCT_CUSTOMER_MNT_V.CMS_UD36}
    else if {?Sort Order}='5' then {PRODUCT_CUSTOMER_MNT_V.CMS_UD38}
    else if {?Sort Order}='6' then totext(year({PRODUCT_CUSTOMER_MNT_V.PURCHASE_DATE}),0,"")"/"
    right("0" + totext(month({PRODUCT_CUSTOMER_MNT_V.PURCHASE_DATE}),0,""),2)"/"
    right("0" + totext(day({PRODUCT_CUSTOMER_MNT_V.PURCHASE_DATE}),0,""),2)
    Groups are suppressed and fields are placed in the detail the line.  I have a request to group by Customer name with selected product ID's listed or vice versa.   My quandry is how do I accomodate the descriptive fields in the page header since the user can select any number of combinations using the sort order parameter.  Sure, right now they are only looking at customer and product ID but let's face it, that requirement could change in the future.  Seems simple enough but it's been awhile since I've touched reports and my brain is fuzzy.  Is what I'm trying to do possible?   Crystal XI (11.0.0.1282)

    I was overthinking the problem.  The report was already sorting on customer or product based on user selection.  I placed the customer ID/Name field and the Product ID field into group one and checked the underlay following section box in section expert.  This is will work fine for our purposes.

  • Sort Order of Lookup Column

    I have a list with look-up columns. 
    In particular, 'Market' is a look-up column, pulling the 'Title' column from a document library.
    The issue I have is that the 'Market' look-up column contents are not listed in alphabetical order when selecting the menu to sort/filter, however, they are in alphabetical order
    in the library they are being pulled from.... 
    What controls the sort behavior of look-up column contents?
    UPDATE: I have discovered that, by grouping the View by any column, the error disappears. Although this might be a work-around and provide context to an eventual solution, this is not a solution. 
    UPDATE 2: The key seems to be multi-value columns OR System Column (TYPE), require grouping to display sort order correctly. 
    Filtering by the type column (Type = xls ~ 7 items) does
    NOT resolve the issue 
    Filtering by the type column (Type = xls ~ 7 items)
    AND Grouping by
    single-value lookup column (Year = 2012 ~4 items) does resolve the issue.
    Filtering by a single-value lookup column  (Year = 2012 ~ 1001 items) does resolve the issue 
    Filtering by a multi-value lookup column (Sector = Residential ~ 418 items) does
    NOT resolve the issue
    Filtering by a multi-value lookup column (Sector = Residential ~ 418 items)
    AND Grouping by
    single-value lookup column (Year = 2010 ~96 items) does resolve the issue.
    - Rick

    Here is a way that worked for me.  I had a lookup column from a list to a document library.  When I opened the form up it sorted by title.  I created a new Data Connection in Infopath editing the list.  When I created the Data connection
    it gave me options which fields in the data connection and the ability to sort based on a field.  I then just pointed my drop down list to point to the new data connection.  This worked on ipad as well as IE9.  No code required and my google
    searching did not find this simple solution so putting here.

  • Controlling the sort order for a column?

    I have a column which uses strings that I want to sort on. But, I don't want to do simple string sorting. Can I effect the sort order somehow? Maybe enumerate the values and assign integers to them?
    For example, I want to use Low, Medium, and High. Or maybe: L-, L, L+, M-, M, M+, H-, H, H+
    Any pointers on how to do this?

    Todd,
    Not knowing what you're trying to sort, it is difficult to make specific suggestions. Basically, two approaches come to mind. 1) start the lines of the column you want to sort with some type of sort code or 2) place that sort code in another column and sort on two columns - possible hiding the one with the codes.
    The next problem is designing a code that fits your situation. In the example you gave something like 1L-,2L,3L,...,8H,9H may work because there are only 9 categories. If more than 9, two digit numbers may work but remember to use leading zeros to pad single digit numbers.
    The code could also be alpha characters with relevance such as "Auto", "Clot", "Food", "Hous", "Misc", etc. But again, if these alphabetic categories are not in the order you like you may have to precede them with some sequence device to get what you want. Maybe something like "aFood", "bClot", "cHous", etc. would work. Designing a code applicable to a given situation that one can easily remember is not always easy.
    Hope this gives to something to think about and if you care to give more details you'll surely get some specific suggestions.
    pw

  • Persisting(MDS) Sort Order for af:column

    Hi All,
    I have a requirement where I would want to persist the sort order of a Rich column using MDS.
    Can I persist the ascending /descending order of a Rich Column into MDS ?
    Thanks and Regards
    Harish

    Todd,
    Not knowing what you're trying to sort, it is difficult to make specific suggestions. Basically, two approaches come to mind. 1) start the lines of the column you want to sort with some type of sort code or 2) place that sort code in another column and sort on two columns - possible hiding the one with the codes.
    The next problem is designing a code that fits your situation. In the example you gave something like 1L-,2L,3L,...,8H,9H may work because there are only 9 categories. If more than 9, two digit numbers may work but remember to use leading zeros to pad single digit numbers.
    The code could also be alpha characters with relevance such as "Auto", "Clot", "Food", "Hous", "Misc", etc. But again, if these alphabetic categories are not in the order you like you may have to precede them with some sequence device to get what you want. Maybe something like "aFood", "bClot", "cHous", etc. would work. Designing a code applicable to a given situation that one can easily remember is not always easy.
    Hope this gives to something to think about and if you care to give more details you'll surely get some specific suggestions.
    pw

  • Bug: iOS 5 and iTunes 10.5 podcast smart playlist sort order and how to fix.

    There seems to be a bug in iOS 5 and iTunes 10.5 involving the sort order of a smart playlist of podcasts. I created such a playlist and sorted by release date on iTunes but I noticed it had a different sort order on the iPod Touch.
    After playing around with it a bit I found that the only way to preserve the sort order that I have in iTunes on the iPod Touch is to uncheck "Live Updating" in the smart playlist.

    Confirming this incredibly annoying bug.  Basic list sorting not working... real bottom shelf work apple.
    workaround update:  limit to must be turned on, set it to an absurdly high number if you don't want to actually limit the playlist, then one of the sortby options in that submenu will work.   The live update checkbox is irrelevant from experimentation. 
    This workaround does NOT fix the fundamental problem: sort order from itunes in smart playlists is not being synced and preserved in ios5 devices.
    This is the latest in a long string of debacles which is making me seriously consider swapping to debian stable. (snow leopard to lion was a severe downgrade in performance for anyone doing heavy multitasking.. scheduling is FUBAR... when a command option escape beachballs on a brand new core 17 machine, your OS has serious problems with nice levels)

  • Artist sort order and TSOP tags

    Can someone please help me understand how tagging and sort orders behave on an iPhone in advance of my buying one.
    I like to browse my music library by artist and, for example, I prefer to have "David Bowie" sort under "B" rather than "D". I believe that the spec for ID3v2.4 tags added the TSOP (Text Sort Order Performer) to over-ride the sorting order. Does the software on the iPhone take notice of the TSOP (or any alternative) tags when browsing by artist so that I can sort in the way I want?
    - Julian

    Sort order can either be set in iTunes or, if tagging using other programs before importing into iTunes, then the correct tags names to add are "Sort Artist" and "Sort Album" which will then be recognised by iTunes.

  • Mail Sort Order and Logitech Control Center 3.1

    LCC Scroll Enhancer Loader.osax is a Scripting Addition in /library/scriptingadditions that reproducibly causes the sort order in Mail to revert to Date Received/Newest on Top. With LCC Scroll Enhancer Loader.osax in the Scripting Additions folder, you can change the sort order for a folder, but when you click on another folder and return to the original, the sort order reverts to Date Received/Newest on Top.
    Removing LCC Scroll Enhancer Loader.osax and restarting Mail remedies this problem.
    Can anyone else confirm this occurs in their system as well (10.6.1)?

    I upgraded to Snow Leopard (10.6.2) from 10.5 yesterday and noticed this Mail sort problem straight away. Concurrently I upgraded to Default Folder 4.3.3 and LCC 3.1. Following the advice of you guys, I've excluded Mail.app in System Prefs/Default Folder/Settings/Advanced and lo and behold date sort is working normally again.
    I mean, I've spent 15 years having most recent at the bottom and it's very wrong to have it at the top!

  • ITunes screws up sort order and randomly screws up volume level

    I'm really starting to regret replacing my 5g video with the classic. The video out issue is one problem, but my biggest issue is my Media Monkey isn't compatible and I had to go back to iTunes. First off I hate using iTunes to manage content. The format *****. But a bigger issue is why does having info in the id3 tag that has nothing to do with the track order of an album screw up the order? I shouldn't have to delete fields like "Album Artist" to get things to sort correctly. Track number should be the ONLY criteria for sorting tracks in an album. The second issue is, I've had problems witrh not being able to hear tracks, no volume. When I check in iTunes it has somehow adjusted the volume to zero for those tracks! I'll be happy when MM updates their software to work with the classic.

    I'm really starting to regret replacing my 5g video with the classic. The video out issue is one problem, but my biggest issue is my Media Monkey isn't compatible and I had to go back to iTunes. First off I hate using iTunes to manage content. The format *****. But a bigger issue is why does having info in the id3 tag that has nothing to do with the track order of an album screw up the order? I shouldn't have to delete fields like "Album Artist" to get things to sort correctly. Track number should be the ONLY criteria for sorting tracks in an album. The second issue is, I've had problems witrh not being able to hear tracks, no volume. When I check in iTunes it has somehow adjusted the volume to zero for those tracks! I'll be happy when MM updates their software to work with the classic.

  • Update a list item based sort order of created by column value

    HI
    using powershell script how to sort a list column before update a list  item.
    here i created a document library and uploaded some documents and update ProcessNo column based sort order of created column
    value.
    Add-PSSnapin Microsoft.SharePoint.PowerShell -EA SilentlyContinue
    $webURL = "http://tspmcwfe:91" $listName = "Courts"
    Get the SPWeb object and save it to a variable
    $web = Get-SPWeb $webURL
    $list = $web.Lists[$listName] 
    $items = $list.items
    Go through all items
    foreach($item in $items)
    $item["ProcessNo"] = 1
    $item.Update()
    $web.Dispose()

    Hi,
    According to your description, my understanding is that you want to sort the list items order before updating items using PowerShell.
    I suggest you can use the Sort-Object command to sort the list items.
    Here are some detailed articles for your reference:
    Better SharePoint Lists and List Items in PowerShell
    Sort-Object
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to access sort direction and filter value of columns?  Can I catch the 'filtered' or 'sorted' event?

    We have some columns being added to a table.  We have set the sortProperty and the filterProperty on each of our columns.
    This allows us to both filter and sort.
    We want to be able to access the columns filter value and sort value after the fact.  Can we access the table and then the columns and then a columns properties to find these two items?  How can I access the sort direction and filter value of columns?
    We would also like to store the filter value and the sort direction, and re-apply them to the grid if they have been set in the past.  How can we dynamically set the filter value and sort direction of a column?
    Can I catch or view the 'filtered' or 'sorted' event?  We would like to look at the event that occurs when someone sorts or filters a column.  Where can I see this event or where can i tie into it, without overwriting the base function?

    Hey everyone,
    Just wanted to share how I implemented this:
    Attach a sort event handler to table - statusReportTable.attachSort(SortEventHandler);
    In this event handler, grab the sort order and sorted column name then set cookies with this info
    function SortEventHandler(eventData)
        var sortOrder = eventData.mParameters.sortOrder;
        var columnName = eventData.mParameters.column.mProperties.sortProperty;
        SetCookie(sortDirectionCookieName, sortOrder, tenYears);
        SetCookie(sortedColumnCookieName, columnName, tenYears);
    Added sortProperty and filterProperty to each column definition:
    sortProperty: "ColName", filterProperty: "ColName",
    When i fill the grid with data, i check my cookies to see if a value exists, and if so we apply this sort:
    function FindAndSortColumnByName(columnName, sortDirection (true or false))
        var columns = sap.ui.getCore().byId('statusReportTable').getColumns();
        var columnCount = columns.length;
        for(var i = 0; i < columnCount; i ++)
            if(columns[i].mProperties.sortProperty == columnName)
                columns[i].sort(sortDirection);

  • Aperture, the iPad, and sort order

    Basically, Aperture and iPad really don't seem to be happy bed buddies. Seems to me the bottom line is if you want to use your iPad to browse and view pictures, don't "upgrade" to Aperture.
    My basic problem is sort order, and twofold:
    1. The order of Albums and Events (ie. Projects) are completely out of whack.
    2. The order of actual photos in albums and events are completely out of whack too.
    Now I've seen complaints about 2. in the discussions but they seem to be pretty old threads and everyone's seemed to just have lived with it. I also see this support article: http://support.apple.com/kb/TS3381. Seriously? Apple calls that a "Resolution"? Manually dragging a photo in each and every album / project so that it uses the custom sort? Then of course on top of all that monkey work, the sort will be screwed for any future photos added to the album / project. ***? You can't even call that a workaround, let alone a resolution. Seriously Apple. Has anyone had any better luck with it?
    This has been a pain in the *** with A2 and the iPhone but I didn't really use that too much to display my photos. But now with A3 and iPad, it's still exactly the same deal? This is just plain stupid.
    As to 1. I can't for the life of me figure out what this order is (it's not by date or by name / path or anything I can tell), or if there's any way to change it. Nor could I find any threads about this issue so any info or tips would be very useful.
    I really hate that all this iDevice syncing has solely been designed for use with iPhoto/iLife and the pro applications were just tacked on as a badly implemented afterthought. Is the pro market (specifically the intersection of Pro software and iDevice users) really this small that it means nothing to Apple, a company which normally prides itself in its attention to detail and user experience?

    After taking a breath I renamed "version name" using the batch change function (you can select to keep the original file name untouched if you want) with a custom name as following:
    <Image Date> at <Image Time> - <Version Name> (optional as a reference to the original file name)
    synched with ipad and everything is fine now. takes only 30 sec. still annoying you have to go through these extra loops though...

  • Designerd does not generate Order BY code for Sort Order on a lookup tabel column.

    I am setting the Sort Order on a column which is based on a lookup table.
    When generate the the module, designer does not generate the code for the Sort Order that I set on the lookup table column.
    Is there a work around for this problem or is there some thing else that needs to be done in designer to make it generate the order by clause?
    I will very much appreciate help.
    Regards
    Prasad.

    A bound lookup item, will be generated as a NON-database item in Forms. Designer generates an ORDER BY CLAUSE (a Forms Block property) for the ordering. But a NON-database item cannot be included in the ORDER BY CLAUSE.
    I used a stored function for ordering the lookup item.
    Best regards
    Harm van Zoest

  • BPC 7.5NW: Hierarchy Upload from BW - Sort Order

    Hi,
    we are currently updating from BPC 7.0NW to 7.5 NW SP10. (BW has been upgraded to 7.02 SP09)
    As master data and hierarchies had been uploaded using the coding from 'HowTo Upload automated...' so far, we now have to use standard Data Manger packages.
    Maintaining packages and package links was successful. Everything works fine so far.
    The only problem are Hierarchies, better the sort order of hierarchie nodes. At the moment they are always sorted in an alphabetical order.
    We introduced property MBR_SEQ to all dimension using program UJA_MIGRATE_MBR_SEQ.
    We loaded hierarchies with different settings.
    Searching SDN and SAP Notes lead to notes 1603352 or 1581331.
    But manually changing hierarchies each time, new members are assigned, is not an option!
    Do I miss any option in the selection screen of the Data Manager package?
    Are there any options in transformation or conversion file?
    Thanks and regards
    Steve

    For your Information...
    We were now adviced to include parameter DM_KEEP_SRC_SEQ with value Y in AppSet parameters (Web-Administration).
    Please have a look at note '1626929 - Keep hierarchy sequence for Load Hierarchy from BW package'.
    It works!
    For the first hierarchy to be uploaded...
    If there are more than one hierarchy defined for upload, only the first hierarchy is sorted correctly, all following ones are sorted alphabetically again.
    Regards
    Steve

  • How do I change the sort order in the file picker?

    Hi there,
    I've recently hit a problem with the Save and Open dialogs in Mavericks. Some how I have changed the sort order within the Column View so that it sorts by modified date and no longer by name. Unfortunately I can't work out how that happened or how to get it back so that it sorts by Name.
    Please could anyone help?

    Normally, you click on this thing (shown below) and select the sorting preference.

Maybe you are looking for