• Thanks a lot

    I used you solution with row based presentation of fields

    query was ported to excel and it was much easier to present it when I grouped result in pivot table