Are hierarchical sorts possible?

Can I sort a spreadsheet on more than one field?: i.e., column 1 is primary sort, column 2 is secondary, and column 5 is tertiary

Gregg,
Have a look at:
http://docs.info.apple.com/article.html?artnum=300432
Post back if that doesn't answer your question.

Similar Messages

  • On my itunes library my albums are all sorted but when  i put onto my ipod touch (4th Gen) it seems to duplicate i have checked everything and there are no spaces in the information my question is how do isort it because these things drive me mad

    on my itunes library my albums are all sorted but when  i put onto my ipod touch (4th Gen) it seems to duplicate i have checked everything and there are no spaces in the information my question is how do isort it because these things drive me mad i would be most gratefully if you could find a way to help
    thatnks

    Never mind, got it to work. I stumbled around on Google for a while and somehow ended up reading things from the 'jailbroken' community. They had easy instructions to get out of Recovery mode. Thanks anyway though!
    P.S. For anyone who experiences this, here is the fix: Hold Power and Home in unison for 6 seconds, then power on as normal.

  • Some photos are not sorted correctly by date

    I just imported some photos from my friends camera who were on the same trip. However, I noticed that a couple (not all) of his photos are not sorted correctly by date in the Event. A photo from day 3 somehow comes before the photos from day 2. I checked the extended information and the dates on the photo are correct. Has anyone had this problem and know of a solution? Thanks.

    It might be of some help to delete the photo cache. Please see this link - http://support.apple.com/kb/TS1314

  • HT4221 Lightroom 3 Win 7- iPad 3 iOS 5.1.1 - images are not sorted by file name in albums

    photos are not sorted properly. thougts? suggestions?
    20050518 - 18.12.05 - 0001.jpg
    20050518 - 18.52.24 - 0002.jpg

    I found that mobile data stopped working on my iPad once upgraded to IOS 5.1. I have resolved the problem by re-applying the settings in Settings > Cellular Data > APN Settings which had (very bizarrely) been over-written as a result of the upgrade process.
    Clearly your APN settings will be specific to your data plan, but if you contact your contract provider, they should be able to tell you what they are.
    Hope this helps.

  • Inventory by LocationId (were locations are hierarchical)

    Hi,
    I have a problem with an inventory system I'm designing.  It is an inventory system by LocationId.   The problem I have is that the locations are hierarchical.   By hierarchical I mean that a given location might belong to a next location.
    For example given the following (simplified) schema of 3 tables (Locations, Articles and Inventory)
    CREATE  TABLE Locations (
    LocationId                 INTEGER NOT NULL,
    ParentLocationId           INTEGER NULL,
    CONSTRAINT w_Ub_LLAVE PRIMARY KEY (LocationId)
    GO
    INSERT INTO Locations (LocationId,ParentLocationId) VALUES (1,NULL);
    INSERT INTO Locations (LocationId,ParentLocationId) VALUES (2,NULL);
    INSERT INTO Locations (LocationId,ParentLocationId) VALUES (3,NULL);
    INSERT INTO Locations (LocationId,ParentLocationId) VALUES (4,1);
    INSERT INTO Locations (LocationId,ParentLocationId) VALUES (5,4);
    INSERT INTO Locations (LocationId,ParentLocationId) VALUES (6,4);
    INSERT INTO Locations (LocationId,ParentLocationId) VALUES (7,5);
    CREATE TABLE Articles  (
    ItemId                     INTEGER NOT NULL,
    Description                VARCHAR(50),
    CONSTRAINT ArticlePK PRIMARY KEY (ItemId)
    GO
    INSERT INTO Articles (ItemId,Description)  VALUES (100,'BREAD');
    CREATE TABLE Inventory (
    LocationId                 INTEGER NOT NULL,
    ItemId                     INTEGER NOT NULL,
    Qty                        DECIMAL(14,4) NULL,
    CONSTRAINT InventoryPK PRIMARY KEY (LocationId,ItemId)
    GO
    INSERT INTO Inventory (LocationId,ItemId,Qty) VALUES (1,100,5);
    INSERT INTO Inventory (LocationId,ItemId,Qty) VALUES (2,100,5);
    INSERT INTO Inventory (LocationId,ItemId,Qty) VALUES (3,100,5);
    INSERT INTO Inventory (LocationId,ItemId,Qty) VALUES (4,100,5);
    INSERT INTO Inventory (LocationId,ItemId,Qty) VALUES (5,100,5);
    INSERT INTO Inventory (LocationId,ItemId,Qty) VALUES (6,100,5);
    INSERT INTO Inventory (LocationId,ItemId,Qty) VALUES (7,100,5);
    I would like to list the contents by locationId.
    For example, if I list LocationId=1 I should get 
    5 (in LocationId = 1) + 
    5 (in LocationId = 4 which belongs to 1) + 
    5 (in LocationId=5 which belongs to 4 which belongs to 1) + 
    5 (in LocationId=6 which belongs to 4 which belongs to 1) +
    5 (in LocationId=7 which belongs to 5 which belongs to 4 which belongs to 1)
    = 25
    If I list LocationId=7 I would only get 5 (those in locationId=7)
    If I list LocationId=5 I would bet 10 (those in LocationId=5 and those in LocationId=7).
    Hopefully I was able to explain myself.   Does anybody know how this could be done?
    Thanks,
    Edgard

    One way to solve this is expanding the hierarchy starting from the node in question all the way down till the last descendant. Then you can join the result to the inventory table to aggregate.
    DECLARE @LocationId int =5;
    WITH TC AS (
    SELECT
    LocationId AS ReportsTo,
    LocationId
    FROM
    Locations
    WHERE
    LocationId = @LocationId
    UNION ALL
    SELECT
    P.ReportsTo,
    C.LocationId
    FROM
    TC AS P
    INNER JOIN
    Locations AS C
    ON C.ParentLocationId = P.LocationId
    SELECT
    A.ReportsTo,
    B.ItemId,
    SUM(B.Qty) AS sum_Qty
    FROM
    TC AS A
    INNER JOIN
    Inventory AS B
    ON A.LocationId = B.LocationId
    GROUP BY
    A.ReportsTo,
    B.ItemId
    GO
    It gets a little bit more complicated if you want to see all locations, their quantities and the aggregation of the descendants.
    WITH TC AS (
    SELECT
    LocationId AS ReportsTo,
    LocationId
    FROM
    Locations
    UNION ALL
    SELECT
    P.ReportsTo,
    C.LocationId
    FROM
    TC AS P
    INNER JOIN
    Locations AS C
    ON C.ParentLocationId = P.LocationId
    , Agg AS (
    SELECT
    A.ReportsTo,
    B.ItemId,
    SUM(CASE WHEN A.ReportsTo = B.LocationId THEN B.Qty END) AS Qty,
    SUM(B.Qty) AS TotalQty
    FROM
    TC AS A
    INNER JOIN
    Inventory AS B
    ON A.LocationId = B.LocationId
    GROUP BY
    A.ReportsTo,
    B.ItemId
    , LocHie AS (
    SELECT
    LocationId,
    CAST(LocationId AS varbinary(900)) AS SortBy,
    0 AS lvl
    FROM
    Locations
    WHERE
    ParentLocationId IS NULL
    UNION ALL
    SELECT
    C.LocationId,
    CAST(P.SortBy + CAST(ROW_NUMBER() OVER(PARTITION BY P.LocationId ORDER BY C.LocationId) AS binary(8)) AS varbinary(900)),
    P.lvl + 1
    FROM
    LocHie AS P
    INNER JOIN
    Locations AS C
    ON C.ParentLocationId = P.LocationId
    SELECT
    REPLICATE('|', 8 * lvl) + LTRIM(A.LocationId) AS LocId,
    B.ItemID,
    B.Qty,
    B.TotalQty
    FROM
    LocHie AS A
    LEFT OUTER JOIN
    Agg AS B
    ON A.LocationId = B.ReportsTo
    ORDER BY
    A.SortBy;
    GO
    This approach will not perform well if you have too many levels in the hierarchy and a procedural approach that traverses each level at a time, starting from the leaves, will perform better.
    Itzik Ben-Gan has a whole chapter dedicated to Graph theory in his book "Inside Microsoft® SQL Server® 2008: T-SQL Querying".
    http://shop.oreilly.com/product/9780735626034.do
    AMB
    Some guidelines for posting questions...

  • When I sort bookmarks in "organize bookmarks" they are not sorted under the bookmarks pulldown menu. Latest additions are not integrated into the sort

    When I sort bookmarks in "Organize Bookmarks" they are not sorted under the pulldown menu on a regular page. Recently added bookmarks are not inegrated into to sorting.

    See this:
    [https://support.mozilla.com/en-US/kb/Sorting+bookmarks#Sorting_by_name]

  • What are all the possible AIA faults?

    Hi all,
    I need to know what are all the possible AIA faults apart from the system faults provided by the SOA Suite.
    whether AIA faults are completely different from the system faults of soa suite?. I haven't found any specifically named AIA faults in any of the AIA documents. Please give some information on this.
    Thanks,
    Ashok.

    HI Haritha,
    The Join Types are,
    1) Equal
    2) Left outer Join
    3)Left inner Join
    4) Temporal Join
    Equal, you have only records of ODS 1 and ODS 2 that matches.
    Left Outer, you have all record of ODS 2 and only matched records of ODS1
    Left Inner, you have all record of ODS 1 and only matched records of ODS 2
    Check this link for more,
    http://help.sap.com/saphelp_sem60/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    Also check this thread,
    Difference of Left - Outer - Inner and Equal InfoSET Join
    Hope this helps ......

  • What are all the  possible types as Content type on HttpServletResponse?

    Hi,
    We have a method setContentType(java.lang.String type), that can be invoked on HttpServletResponse instances.
    Here my doubt is what are all the possible/legal types that can be set as ContentType on HttpServletResponse instance?
    Thank you for your consideration.

    johvarg wrote:
    text/html or plain/htmlUh, yes? What's the value of your message? The content types have been answered and there are much more content types than you mentioned.

  • What are all the possible joins can be made in infosets?

    Hi all,
    Can anyone let me know what are all the possible joins that can be made in an infosets.
    can anyone explain me with an example.
    thanxs
    haritha

    HI Haritha,
    The Join Types are,
    1) Equal
    2) Left outer Join
    3)Left inner Join
    4) Temporal Join
    Equal, you have only records of ODS 1 and ODS 2 that matches.
    Left Outer, you have all record of ODS 2 and only matched records of ODS1
    Left Inner, you have all record of ODS 1 and only matched records of ODS 2
    Check this link for more,
    http://help.sap.com/saphelp_sem60/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    Also check this thread,
    Difference of Left - Outer - Inner and Equal InfoSET Join
    Hope this helps ......

  • Is there a app that will tell all apps that are running and possibly how much battery power they use?

    Is there a app that will tell all apps that are running and possibly how much battery power they use?

    You don't need an app to do this.  Here's how you get the battery info.  Go to Settings>More>Battery. This will show you all the active apps and their individual battery usage.

  • How to create in R/3 functional area hierarchies (0FUNC_AREA_0112_HIER)

    Hi all,
    First of all, thank you for your time, any help would be really appreciated and some points will be asigned to helpful answers.
    Now my little problem...
    We need to have in BW Functional Areas hierarchies.
    To do that I have activated 0FUNC_AREA_0112_HIER from bc. The problem is that there aren´t any functional areas structures defined in R/3 for the moment.
    I've been doing some tests creating structures in R/3, transaction SPRO, "Define finantial statement versions", but when I try to upload them to bw, they don't appear in the hierarchy flow of 0func_area infoobject but in 0gl_account, despite I have filled the flag of "assignment of functional areas is permitted".
    Also in R/3, when I run transaction SE38, program RSA1HCAT, Datasource with hierarchy type=0FUNC_AREA_0112_HIER, an error message is displayed: "No hierarchy catalog in the source system".
    That means they are not func area structures but GL account structures defined in R/3. Nobody in my team knows how to create these kind of structures so that I can load them as 0func_area hierarchies.
    Could you help me please?
    Thank you very much,
    JuliaM

    Hi Julia,
    Got the same issue with trying to create/load the functional area hierarchy.
    Don't know if this helps but if you want to use the hierarchy as defined by the financial statement version, use the hierarchy on the IOBJ 0GLACCEXT - Financial Statement Item.
    Setup as follows:
    IOBJ: 0GLACCEXT
    Hier: 0GLACCEXT_T011_HIER
    Text: 0FUNC_AREA_TEXT and 0GL_ACCOUNT_TEXT
    I'll be monitoring your thread for an answer if your initial issue. If you find a solution elsewhere it would be great if you could post it here. Thanks!
    Best Regards,
    Anders

  • Why are some sort order texts goasted rather then solid black?

    To all and anyone
    The subject says it all...
    Why are some sort order texts ghosted rather then solid black?
    Thanks!
    Fred

    The ghosted/grayed values correspond with auto sorting. Auto sorting drops the leading articles, a/an/the, and variations in other languages, so that for example, The Beatles sorts as Beatles under B unless you explicitly override the auto sort by putting The Beatles in the sort value so that it sorts under T.
    tt2

  • Are there any possible reason RMAN generates some corrupt archive log files

    Dear all,
    Are there any possible reason RMAN generates some corrupt archive log files?
    Best Regards,
    Amy

    Because I try to perform daily backup at lunch time and found out it takes more than 1 hour had no any progress. Normally we take around 40 minus. The following is the log file:
    RMAN> Run
    2> {
    3> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    4> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u03/db/backup/RMAN/%F.bck';
    5> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 1 DAYS;
    6> allocate channel ch1 type disk format '/u03/db/backup/RMAN/backup_%d_%t_%s_%p_%U.bck';
    7> backup incremental level 1 cumulative database plus archivelog delete all input;
    8> backup current controlfile;
    9> backup spfile;
    10> release channel ch1;
    11> }
    12> allocate channel for maintenance type disk;
    13> delete noprompt obsolete;
    14> delete noprompt archivelog all backed up 2 times to disk;
    15>
    16>
    using target database controlfile instead of recovery catalog
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters are successfully stored
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u03/db/backup/RMAN/%F.bck';
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u03/db/backup/RMAN/%F.bck';
    new RMAN configuration parameters are successfully stored
    old RMAN configuration parameters:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 1 DAYS;
    new RMAN configuration parameters:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 1 DAYS;
    new RMAN configuration parameters are successfully stored
    allocated channel: ch1
    channel ch1: sid=99 devtype=DISK
    Starting backup at 31-MAR-09
    current log archived
    After that I go to archive log directory "/u02/oracle/uat/uatdb/9.2.0/dbs" and use ls -lt command to see how many archive logs and my screen just hang. After we found out that we cannot use ls -lt command to read arch1_171.dbf
    archive log, the rest of archive logs able to use ls -lt command.
    We cannot delete this file as well. We shutdown database abort and perform check disk...... and fix the disk error and then open database again. Everything seems back to normal and we can use ls -lt command to read arch1_171.dbf.
    The strange problem is we have the same problem in Development and Production..... one ore more archive logs seems to be corrupted under the same directories /u02/oracle/uat/uatdb/9.2.0/dbs.
    Does anyone encounter the same problem?
    Amy

  • I hav purchased whats app but when i formated my laptop it is asking me to pay for whats app in app store n further purchases are not not possible

    i hav purchased whats app but when i formated my laptop it is asking me to pay for whats app in app store n further purchases are not not possible from my id how can i over *** this error

    You may want to improve your backup strategy for your computer...
    Login to iTunes, check your purchase history, see if there's the transaction for whatsapp.
    Otherwise, contact iTunes support to get the issue straightened out.
    http://www.apple.com/support/itunes/

  • S660 call logs are not sorted.

    I have a S660 smartphone and the call logs are not sorted based on time. It is randomly logged and its difficult to see the call history. Any fix for this?
    ~Senthil
    Solved!
    Go to Solution.

    I got some alternative solutions..
    1. download "Contact plus" app from google play free. This app is fantastic. phonebook, call log and messages contain in this pack. 3-in-one.. start using this app and make it default. it has its own dialer too... so do not have to worry about anything lenovo provided..
    2. for those facing "menu" Switch not there issue: kindly download "KK Launcher" by google kitkat team from google play store.. this is the most beautiful launcher and u can forget the lenevo launcher--stupid bastards.. Make this launcher default too.
    Remember one thing: do not delete or force stop or dissable the lenevo launcher or other apps by lenovo. just let it be there..do not use that.. thats it.. 
    the above two apps solved 99% of my problems.. 
    bbye...

Maybe you are looking for