Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var groups = from SPListItem item in licMktDocs
- orderby item["Modified"] descending
- group item by item["Title"] into itemgroup
- select new { Title = itemgroup.Key, Completion = itemgroup.Count(i => i["Completion"] == "completed") / itemgroup.Count() * 100, Date = itemgroup.First()["Date"]};
Advertisement
Add Comment
Please, Sign In to add comment