I have a situation where i have to calculate percentage of two values for example
IEnumerable result = from r in renewalLists gro
For this purpose, use the LINQ let operator.
In general, I would recommend to split your big LINQ statement on several smaller ones. Otherwise, it will be very painful to debug this later.