in

SharePoint University

Clean slate. Nothing but SharePoint.
Go, SharePoint!

WSS3.0-Summary of List Data

Last post 07-08-2008 9:33 PM by naijacoder. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 07-01-2008 2:54 PM

    WSS3.0-Summary of List Data

    Hi:

    Simplistic question but how can I create a summary of a List.  For example, I have 500 records with 20+ fields.  I want to show a summary of one category [City] of the List. 

    New York $525

    Boston $645

    Los Angeles $1200

    I assume I need to create something in SharePoint Designer, but what is that and how might I go about doing it.

    Charlie

     

    Charlie Epes
    Buffalo, NY (USA)
  • 07-01-2008 3:34 PM In reply to

    • dggcoop
    • Top 10 Contributor
    • Joined on 06-20-2007
    • United States
    • Moderator

    Re: WSS3.0-Summary of List Data

    The simplest way I know to go about this would be to show the view grouped by city and then do a total (SUM) of the amount.

    However, this would only show the total amount if the grouping is expanded...

    Does that fit your needs?

    -dggcoop, MCTS

    Cick here for my blog

    Please do not email me your SharePoint questions! If you need SharePoint help, please post your question in the appropriate SharePointU.com forum.
    ------------------------------------------------------------------------
  • 07-01-2008 3:45 PM In reply to

    Re: WSS3.0-Summary of List Data

    Hi:

    Yea, I have that already but I am trying to create a crunched down view, probably in SPD2007.  It's hard to get away from seeing the details no matter whether a standard List or a custom dataview...  Hmmm

    Charlie Epes
    Buffalo, NY (USA)
  • 07-06-2008 7:56 PM In reply to

    • naijacoder
    • Top 25 Contributor
    • Joined on 07-09-2007
    • Melbourne , Australia

    Re: WSS3.0-Summary of List Data

    Charlie,
            You can create a dataview webpart or a page using sharepoint designer and then show some summary data.
    Try using xslt/xpath.
    If you have issues let me know.

    Patrick
     

  • 07-07-2008 9:00 AM In reply to

    Re: WSS3.0-Summary of List Data

    Hi Patrick:

    I can do everything except the xslt/xpath... which is the big part.  Is there a primer or tutorial as to how to sum a column in dataview and then only show the sum next to the category?

     

     

    Charlie Epes
    Buffalo, NY (USA)
  • 07-07-2008 8:04 PM In reply to

    • naijacoder
    • Top 25 Contributor
    • Joined on 07-09-2007
    • Melbourne , Australia

    Re: WSS3.0-Summary of List Data

     ok lets get started
    To get a sum do this:

    <xsl:value-of select="count($nodeset)" />

    To ge a summary you can do this:

    <xsl:value-of select="substring(@Title,1,100)" />

    What the above does is it show only the first 100 characters of the title node

     See some xpath tutotial here : http://www.w3schools.com/xpath/default.asp

    Hope this helps
    Patrick

     

  • 07-08-2008 8:18 AM In reply to

    Re: WSS3.0-Summary of List Data

    Hi Patrick:

    I think I'm out of my league here.  I'll read through the W3 tutorial and ask questions if I think I can move forward.  Thanks for your time.

    Charlie Epes
    Buffalo, NY (USA)
  • 07-08-2008 9:33 PM In reply to

    • naijacoder
    • Top 25 Contributor
    • Joined on 07-09-2007
    • Melbourne , Australia

    Re: WSS3.0-Summary of List Data

    No worries Charlie.
    if you need help just post it.

    Patrick

Page 1 of 1 (8 items)

Need SharePoint Training? Attend a SharePoint Bootcamp!
Forum content (c) original posters. Everything else (c) 2008 SharePoint Experts, Inc.