How to Update parameter value in some element not all

Hi every body,
I have big problem with update value to electrical equipment parameter, the main issue is i need to update the values in some of electrical equipment not all of them and i need to fill specific value in each equipment equipment .

This dynamo script help me to calculate the number of ways to each panel and fill them in parameter to use it in panel board schedule

just for clarification i need to fill each panel name with each number of ways

You are using all elements as input for the SetParametervalue node. You need to use the “Result” group as input.
Use List.FirstItem / List.LastItem from the list.transpose node as output for the SetParameterValue node.