SharePoint User Group UK

Share the knowledge!

Welcome to SharePoint User Group UK Sign in | Join | Help
in
Home Blogs Forums Photos Files Roller

"Group by" view and multiple entries column

Last post 09-03-2008, 1:47 PM by jenny. 7 replies.
Sort Posts: Previous Next
  •  05-15-2008, 5:53 PM 10768

    "Group by" view and multiple entries column

    Is there any -simple-out-of-the-box- way to create a view that would display a Group-By of a column that is a multiple entry ?

    ie:

    Client1 = UK, France, Italy
    Client2 = France, Spain, Portugal

    I want to see a Group-by view that wil display something like :

    + UK
           Client1
    + France
           Client1
           Client2
    ...

    Sharepoint by default does not split multiple entries into many, and therefore will not allow Group-by of a multiple entry column, if it did I understand it will return
    + UK, France, Italy
           Client1
    + France, Spain, Portugal
           Client2

    Basically a 1-to-many and back relationship will be nice.

    Anyone has a workaround ?

    thanks.


    Francois Souyri
  •  05-16-2008, 9:43 AM 10790 in reply to 10768

    Re: "Group by" view and multiple entries column

    thinking off the top of my head and after only 1 cup of tea this morning....
    what if you create another table of 'countries' - join this with your main table in designer and do the group by on the countries table ?

    Nothing is as it seems, nor is it otherwise.
  •  05-30-2008, 10:54 AM 11074 in reply to 10790

    Re: "Group by" view and multiple entries column

    Sorry for the delay to reply, I was off.

    Thanks for the response, however not sure it will work in this case, as I am not trying to link or merge 2 different tables (or create a new one as you suggested) but the data only comes from one single list. It's barely a View display feature that I am trying to achieve.

    ie : another example could be as below

     list contains the following fields =   
    [Name]    [Skills]
    Joe           Microsoft, Oracle, Lotus
    John         Microsoft, Tivoli
    Jack         Microsoft, Lotus, Adobe

    then I want to view the same list but <by Skills> as :

    +Adobe (1)
              Jack
    +Lotus (2)
              Joe
              Jack
    + Microsoft (3)
              Joe
              John
              Jack
    + Oracle (1)
              Joe
    +Tivoli (1)
              John

     


    Francois Souyri
  •  06-01-2008, 10:17 AM 11092 in reply to 10768

    Re: "Group by" view and multiple entries column

    No, I don't think that this is possible out of the box. I've not seen a way, anyway.

    However, it is possible to build that using custom code, I think. I noticed before that the Lists.GetListItems webservice gives multiple results for items if you've got a multiple-choice column on the list:

    http://www.novolocus.com/2008/04/07/duplicate-rows-from-the-sharepoint-lists-webservice/

    I couldn't think of why the Lists webservice would do this, but in the context of Group By, this would make sense! You could probably use this 'feature' too, and write your own web part.

    Not an ideal solution, but it should work.
  •  09-02-2008, 11:51 PM 13397 in reply to 10768

    Re: "Group by" view and multiple entries column

    Hi

    Did you ever get a (non-programming) workaround for this? ( I followed the links but they got a bit technical for me)

    You have described by problem exactly. I find it strange that it displays the lists like this for fields where you have multiple entries, given the point of Sharepoint is to make information more accessible rather than less. Structuring the way it does is confusing.

    I am more used to Lotus notes (I know that is not exactly compariable), but notes does display lists like this.

    Cheers

    Steve

  •  09-03-2008, 12:03 AM 13398 in reply to 13397

    Re: "Group by" view and multiple entries column

    nope,
    I gave up the idea and now everytime I see that I may need to dispay a multi entries columns in a Group By view then I change the way it is to adopt a different data modeling.
    Shame I know :-( but no time for programming it yet, I will update the post if I get into it.

    Francois Souyri
  •  09-03-2008, 9:29 AM 13404 in reply to 13398

    Re: "Group by" view and multiple entries column

    We've been looking at Quest's Recovery manager but they also have a Developer package, which (apparently) allows for easy content roll up and displaying / merging lists with a parent child relationship - i know it's not exactly what you're after here but they may have something to help ?

    http://www.quest.com/development-studio-for-sharepoint/

    Nothing is as it seems, nor is it otherwise.
  •  09-03-2008, 1:47 PM 13413 in reply to 10768

    Re: "Group by" view and multiple entries column

    Hi Francois

    This is definately not something that is available out of the box and would require custom development or a third party product. I have also found multiple times that I want to group by a field that has multiple values - it is annoying!

    Jenny 


    http://www.sharepointblogs.com/jennyeverett
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems