Report question

Question: How can I group by a list of elements?