Report question

Question: How to put constraints on the associated data?