Write report and fill table with conditions.