?
Solved

Vertically Calculate Count, Total in sharepoint and store in variable for future use

Posted on 2009-04-07
4
Medium Priority
?
835 Views
Last Modified: 2012-08-13
How to Calculate total vertically in sharepoint.
i.e share offer a total with colunm A + Colunm B
but my requirement is to calculate Total in respect of Rows
i.e SUM ( Row-1-ColunmA + Row -2-Colunm A) for get the Desired Result. i need this colunm for Calculation please any body help

   
0
Comment
Question by:wateenitdev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
thman earned 1000 total points
ID: 24087458
You need to create a page and insert a DataFormWebPart. In that web part, you can use XSLT to do the calculation. To find an example, you can use SharePoint's HelpDesk template to create a site and use SharePOint Designer to open the default.aspx page which has codes for the KPI indicator on the page. It shows you how to get the sum for each issue status and then calculate a percentage for each issue status.
Or you can use SQl Server Reporting Service to generate reports. This approach is bit long path to go if you are not familiar how SharePoint stores data.
 
0
 
LVL 15

Assisted Solution

by:dp_expert
dp_expert earned 1000 total points
ID: 24094992
Or you could create a workflow with SharePoint designer (now it is a free tool) that would calculate after each item change and store the calculation result in some other list and then insert the calculation result in a selected columns of selected item
0
 
LVL 11

Expert Comment

by:thman
ID: 24096336
It is not easy to do that in SharePoint Designer workflow - the functionalities are very limited. It is possible to do it in event handler which is programmed in Visual Studio.
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question