Group by on more than 2 columns in SharePoint List

Hi,
Is there any way to use Group-by on more than 2 columns? I know there is a way using SPD which I have implemented as well, however it makes the page READ-ONLY. 
Any other way? May be using custom code?

Try this
http://chanakyajayabalan.wordpress.com/2010/03/15/group-by-for-more-than-two-columns-in-sharepoint-list/
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/05fbde73-efdb-40dc-a206-55d56caa21d4/make-group-by-for-3-or-more-then-3-columns-in-sharepoint-2010-list?forum=sharepointdevelopmentprevious
http://techtrainingnotes.blogspot.in/2011/01/sharepoint-group-by-on-more-than-2.html

Similar Messages

  • How to create SharePoint: Group By on more than 2 columns in a view (SP 2013)

    Hi All,
    I want to create Group by column on more than 2 columns in a view in SharePoint 213 list.
    The group It for CurrentUser,Yearly,Monthly andWeekly.
    How can I achieve It?
    Thanks in Advance

    Hi,
    According to your post, my understanding is that you want to group by on more than 2 columns in a view.
    You can use Data View Web Part in SharePoint Designer and add some changes & additions.
    For more information, you can refer to:
    Group by for more than two columns in SharePoint list
    SharePoint: Group By on more than 2 columns in a view (SP 2010)
    SharePoint 2013 – Add DataView WebPart with SharePoint Designer 2013
    Hack: Data View Web Parts in SharePoint 2013
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to do a group video-call (more than 2)?

    Hi,
    Does anyone know how to do group (more than 2) video calls with facetime?

    Hi,
    According to your post, my understanding is that you want to group by on more than 2 columns in a view.
    You can use Data View Web Part in SharePoint Designer and add some changes & additions.
    For more information, you can refer to:
    Group by for more than two columns in SharePoint list
    SharePoint: Group By on more than 2 columns in a view (SP 2010)
    SharePoint 2013 – Add DataView WebPart with SharePoint Designer 2013
    Hack: Data View Web Parts in SharePoint 2013
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Return to more than columns from LOV

    I need return to more than columns from LOV. All columns belong to one form region
    Please helpl me
    Mary

    Hi Mary,
    Do you mean you need to return more than 3? If so then in the link area change the Target to URL and do something like the following:
    f?p=&APP_ID.:7:&SESSION.::&DEBUG.::P7_UNIQUE_ROWID,P7_OET_TBL_NM:#UNIQUE_ROWID#,#OET_TBL_NM#Items on left separated by commas, values on right separated by commas and a colon (:) in the middle...make sure the items & values are placed in the same order.
    Mike

  • Cannot get more than 8 item in list component

    Hi,
    I can't get more than 8 items in list component using getItemAt(), it returns null. I will search more for this but no result.
    Please Help me here to move to next step.
    Thanks
    Sureshkumar G

    If you're asking if you can overall, yes you can:
    http://help.adobe.com/en_US/as3/components/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7f41.html
    If you're asking if you can do this in the same context, off-screen, no you still get the same error as the .enabled property.
    I hate to throw a hunch but I feel as though Adobe is employing something I'm used to in native iOS programming (Apple Devices). In lists they have something called "dequeue". It's the reason an extremely long list scrolls smoothly. What it does is render ONLY the rows that are in view. When a row is about to scroll off view it deallocates it from memory and then recreates the next row. They do this so you only ever have the current amount of viewable rows in memory and it speeds up scrolling. Although, I can make property changes to items in an iOS list that's off-screen so they don't have this issue ;(.  Just food for thought.
    I'd submit it to the bugbase and see what Adobe states. They may say they intend you to get the item in view, alter it and then go back to your previous position. That would be silly but at most I can tell you I definitely get errors trying to access an element outside my view. They're probably not used to items needing visual toggles when you can't even see them.
    edit:
    On a further note I tried the scrollToIndex() method, tried to disable, that much worked fine. The second I then scrolled back to the previously selected index the list screwed up.
    I even daisy chained functions a second apart (30 frames worth of wait). I scrolled down and that worked so I waited 1 second. I disabled the visible item I wanted to and that worked so I waited another second. I scrollToIndex(0) to get back to the top of the list, the list blew up. Random items (several items) were disabled and the one that I explicitly disabled was enabled.

  • Open Hyperlink column in sharepoint list in Modal dialog box without redirecting to any page.

    Please help me to achieve:
    open Hyperlink column in SharePoint list in Modal dialog box without redirecting to any page.

    You can use the JSLink to achieve it:
    link
    [custom.development]

  • Script to find users that are a member of more than one of a list of specific groups

    Hi,
    I need to generate a list of users that are members in more than one group, out of a list of specific security groups.  Here's the situation:
    1) We have about 1100 users, all nested under a specific OU called CompanyUsers.  There are sub-OUs under CompanyUsers that users may actually be in.
    2) We have about 75 groups, all directly under a specific OU called AppGroups.  These groups correspond to a user's role within an internal line of business application.  All these groups start with a specific character prefix "xyz", so the group
    name is actually "xyz-approle".
    I want to write a script that tells me if a user from point 1) is a member in more than one group in point 2).  So far, I've come up with a way to enumerate the users to an array:
    $userlist = get-qaduser -searchroot 'dq.ad/dqusers/doral/remote' | select samaccountname |Format-Table -HideTableHeaders
    I also have a way to enumerate all the groups that start with xyz that the user is a member of:
    get-QADMemberOf -identity <username> -name xyz* -Indirect
    I figure I can use the first code line to start a foreach loop that uses the 2nd code line, outputting to CSV format for easy to see manual verification.  But I'm having two problems:
    1) How to get the output to a CSV file in the format <username>,groupa,groupb,etc.
    2) Is there any easier way to do this, say just outputting the users in more than one group?
    Any help/ideas are welcome.
    Thanks in advance!
    John

    Here is a PowerShell script solution. I can't think of way to make this more efficient. You could search for all groups in the specfied OU that start with "xyz", then filter on all users that are members of at least one of these groups. However, I suspect
    that most (if not all) users in the OU are members of at least one such group, and there is no way to filter on users that are members of more than one. This solution returns all users and their direct group memberships, then checks each membership to
    see if it meets the conditions. It outputs the DN of any user that is a member of more than one specfied group:
    # Search CompanyUsers OU.
    strUsersOU = "ou=CompanyUsers,ou=West,dc=MyDomain,dc=com"
    $UsersOU = New-Object System.DirectoryServices.DirectoryEntry $strUsersOU
    # Use the DirectorySearcher class.
    $Searcher = New-Object System.DirectoryServices.DirectorySearcher
    $Searcher.SearchRoot = $UsersOU
    $Searcher.PageSize = 200
    $Searcher.SearchScope = "subtree"
    $Searcher.PropertiesToLoad.Add("distinguishedName") > $Null
    $Searcher.PropertiesToLoad.Add("memberOf") > $Null
    # Filter on all users in the base.
    $Searcher.Filter = "(&(objectCategory=person)(objectClass=user))"
    $Results = $Searcher.FindAll()
    # Enumerate users.
    "Users that are members of more than one specified group:"
    ForEach ($User In $Results)
        $UserDN = $User.properties.Item("distinguishedName")
        $Groups = $User.properties.Item("memberOf")
        # Consider users that are members of at least 2 groups.
        If ($Groups.Count -gt 1)
            # Count number of group memberships.
            $Count = 0
            ForEach ($Group In $Groups)
                # Check if group Common Name starts with the string "xyz".
                If ($Group.StartsWith("cn=xyz"))
                    # Make sure group is in specified OU.
                    If ($Group.Contains(",ou=AppsGroup,"))
                        $Count = $Count +1
                        If ($Count -gt 1)
                            # Output users that are members of more than one specified group.
                            $DN
                            # Break out of the ForEach loop.
                            Break
    Richard Mueller - MVP Directory Services

  • Nokia -Grouping Contacts with more than 1 number

    I want to sync my phone with MS Outlook in such a way that it groups multiple numbers (eg home, mobile) for 1 contact under that contact's name.
    When I do it syncs to the SIM.
    For contacts with more than 1 entry it sets up contacts as: John Smith; John Smith1 etc
    When I copy from SIM to phone memory it keeps these names
    Does anyone know how to do this - I did manage it with the same handset (now replaced) but can't remember how.
    It feels like I should be able to sync to the phone memory rather than SIM, but the Mokia PC suite doesn't seem to allow me to do that.

    I'm From South Africa and the sim cards we have in this country just save one number per contact and I would also get the same result with any simcard that is available in this country if I tried what your trying to do.
    Assuming, There aren't many different types of sim cards then your sim card will also not be able to store multiple numbers to the same name. They just aren'r designed that way.
    The same will happen if you copy your contacts from phone to sim. It just can't be done 
    Show your appreciation. Hit that kudos button real hard

  • How to have repeating columns for SharePoint list

    Hi
    I am working on SharePoint 2013 environment and trying to customize a SharePoint list using infopath form.
    Have a list called "Future Actions" and users need to submit their actions. An user can submit
    n number of Planned actions and every user will submit different number of actions.
    Columns:
    1. Title                                   TEXT
    2. Month                                 Choice
    3. Planned Actions                   TEXT
    I want to capture user's actions in the same form, such that he would have option to expand the
    Planned actions column to add n number of Actions.
    Simply, For one Month, user should be able to define all actions in one form. and the number of planned actions will vary from user to user.
    Pls suggest

    Hi,
    The OOTB can't provide a feature to meet your requirement.
    Here is a similar thread for your reference:
    http://social.msdn.microsoft.com/Forums/en-US/e475cc7f-435f-4e6e-b579-c74311d67b4e/creating-repeating-columns-in-sharepoint-2010-list
    In SharePoint 2013, we can also customize a special field type using client-side rendering.
    http://msdn.microsoft.com/en-us/library/office/jj220061(v=office.15).aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Group by returning more than one column in a single query

    Hello,
    Sorry to ask such a simple question I guess, but here is my problem.
    I'm building a query to get say the smallest user_id from employees in the company by department.
    The query goes like :
    select emp..department,
    min(emp.user_id)
    from employee emp
    group by emp.department
    This gives me the smallest user id by department, which is what I want. But how can I also get the name of that person ?
    I know that the "min" condition singles out a unique record (there are no two persons with the same user_id in the department).
    But how can I also get the name without turning the above query in a subquery that I would link to the employee table yet again ?
    I know the following works but I don't think it's the best option:
    select v1.department,
    v1.user_id,
    emp1.name
    from employee emp1,
    ( select emp..department,
    min(emp.user_id)
    from employee emp
    group by emp.department) v1
    where emp1.user_id = v1.user_id
    This is just an example of data. It is the principle that I don't quite get.
    Any advice would be very much appreciated.
    Cyril

    Hi, Cyril,
    To find the name of the person who has the lowest user_id
    SELECT    department
    ,         MIN (user_id)   AS lowest_user_id
    ,         MIN (name) KEEP (DENSE_RANK FIRST ORDER BY user_id)  AS person_with_lowest_user_id
    FROM      emp
    GROUP BY  department;"MIN (name)" above means that if there is a tie for the lowest user_id, then the contender with the first name will be chosen.
    If you want to display several columns from the row with the lowest user_id, you have to have a separate "KEEP (DENSE_RANK ...)" expression for each column. In that case, you may find it easier to use the analytic RANK or ROW_NUMBER in a sub-query, like this:
    WITH  sub_query  AS
         SELECT  department
         ,     user_id
         ,     name
         ,     col2, col3, col4, col5
         ,     RANK () OVER ( PARTITION BY  department
                               ORDER BY          user_id
                        )  AS r_num
         FROM     emp
    SELECT     *     -- or list all columns EXCEPT r_num
    FROM     sub_query
    WHERE     r_num = 1;

  • HT204150 Why does one Contact Group not take more than 3588 Contacts?

    When I drag one more Contact than 3588 in one Group, it ist rejected.
    Is there al limit or can I overcam this?
    Josef

    Thank you so much Tamara, I wonder why the folks at help desk for iPhone are not a ware of this answer.. You been very helpful I really appreciated. Happy Holidays to all!

  • Formula help - Group totals for more than one date range

    Post Author: melcaylor
    CA Forum: Formula
    I need to show in 3 columns
    inside of a grouping that totals an amount field based on a date
    range that amount was posted.  So for example:
    Billy Bob in the state of MA made $5.5m total, $800k in the last 21 days, $400k in the last 14 days and $150k in
    the last 7 days.
    I assume this is possible but I
    just donu2019t know what type of formula to write to make it work.  For this
    example, there are 2 tables u2013 user table and $$ table.  The User table has
    the user name, the $$ table has the pay date and the amount. 

    Post Author: SKodidine
    CA Forum: Formula
    You only need simple formulae in Running Totals to accomplish this.
    1.  Group by Name
    2.  Create the following Running Totals:
    2.1 A running total to sum the pay amount for all records, and resets on 'Change of Group' of Name.
    2.2 A running total to sum the pay amount and for 'Evaluate' click on the radio button next to 'Use a formula' and then click on X-2 button next to it.
    In the formula workshop window type a formula such as: {table.payment_date} in (currentdate - 21) to currentdate;
    For 'Reset' click on the radio button next to 'On change of group' and pick the group name.
    2.3 Create another running total just as in step 2.2 above but change the formula to: {table.payment_date} in (currentdate - 14) to currentdate;
    2.4 Create the last running total just as in step 2.2 above but change the formula to: {table.payment_date} in (currentdate - 7) to currentdate;
    Hide the details section and in the group footer place text boxes with appropriate text and insert these running totals to give you the numbers you want.
    The only issue I see with this is if a person was paid yesterday a sum of $25, then it will show $25 for total, last 7days, last 14days and also for last 21days.  At first look it might be mistaken for $75.

  • How to see all items (more than 50) in the list without scrolling down in the column filter option (as attached)

    Hi,
    Any help?
    Thanks
    srabon

    You can increate the view limit by modifying existing view and then setting the view item limit. Note that you will get worse performance for larger views of the data.
    If you want more control over the filter options you can use the managed metadata filters to provide a more robust filtering system.
    Other than that can you provide more detail? Your post isn't that clear.

  • E-mail group assinged to more than one person

    Hi
    i have requirement where they need to chnage the name of the e-mail group for Service desk and Escalation reporting in solman
    The problem is i don't know where to change it
    The scenario is that, there's an email address namedsolman at company-x dot com , in that email-address there are few individual who receives email under that group email for example User-1, User-2 and User-1 are receiving an email through that e-mail group so now the group name have to be changed from solman at company-x dot com to company-x at company-x dot com
    wher do it chnage  in solution manager
    NB  this is for both service desk and Escalation reporting
    Tx in advance
    R-K

    Hi,
    I am not sure about the escalation process but go to PPOMA_CRM transaction and in the organization structure select the 1st level or other required then replace the email address in the below part of the same screen. then save the entries and test. This is part of the support Team determination process in service desk.
    Thanks,
    Ajay.

  • Date range column in SharePoint List?

    I have a request to provide a date range in a custom list. Other than providing two Date columns in a custom list, any recommendations on a snazzier way to provide this?
    Thanks!
    Scott

    you will be better off with the two columns.
    there aren't any other options built-in... but even though it'd be possible to (custom dev) add a "date range" field, it wouldn't be nearly as useful as you'd like it to be.
    you're better off with two columns.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

Maybe you are looking for

  • Invoice Split due to different incoterms 2

    Hello SD experts.. Kindly advise on the following situation. we are making supplemetary invoice with  ref of invoice which could be more than one sometimes. Further more in first invoice we have put incoterm 2 as a BY ROAD. In 2nd inovice we have put

  • Problem while activating Custom Include

    Hi, My requirement is to make a copy of standard include (V50R_ON_OUTPUT) into ZV50R_ON_OUTPUT. And to add this custom include in another copy of the main program ZRVV50R10C (copied from RVV50R10C). But am facing problem when activating the custom ma

  • Home Button Stopped Working!

    I have an iPod touch 4th gen. and my home button has stopped working? how can i fix it? or can the apple store fix it?

  • Converting Video To third Parties

    Hey there, I was wondering, where I could find a different partie ie: Realplayer. It seems I am able to convert my video, on my iTunes, but It doesnt seeem to show on my iPod, only on ITunes, it can show. What other program should I use.?!!!!- to be

  • Old Airport Extreme Firmware

    I'm just getting back to trying to figure out my Airport Extreme and am now using Snowlep, I'm trying to update my firmware thinking that will fix the issue I'm having and its telling me that version 1.1 of the CD software is no longer supported. Any