Thanks for your reply JenniferLindsay!
The list employees contains the columns: Employeename, employeenumber. The list messages has the following columns: employeename, employeenumber, message.
I've 2 data connections. One for the list employees and one for the list messages. When i want to calculate the messages per employee, it says ...