Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

Calculate totals and averages on list filtering by column data

$
0
0

I am using SharePoint 2013 and want to calculate the average of numerical data in a column. In my sample data I have 30 rows data. The important columns are the "funding type" and the "days". The "days" column is a calculated column from two other columns (start date and end date) so it takes the difference between the two. The "funding type" contains an assortment of types: cash, credit, check, etc. What I am looking to do is get the average "days" of all the funding types by funding type. So for the cash funding type, I want to count all the cash types and then add the total number of days and divide by the count. I want to repeat this for each funding type and then display the results. The output can be its own list or DVWP, etc. Would I need to write a CQWP to get what I am looking for? I am not sure.

Does anyone have a suggestion for this?

Thanks,

Alex


Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>