Friday 8 May 2020 @ 11:44 pm
This is better illustrated with pictures. Recently a customer had a Cross-tab that looked like the image on the left below. But they wanted the first column to repeat next to each value in the second column, like the image on the right below.
I found a relatively simple way to do this:
- I created a formula the combined the two column fields into one string, with a dash between them.
- I went into the Cross-tab expert and clicked the “Group Options” button for the first column field. I changed it to the new formula.
- I then clicked the”Options” tab and checked the option “Customize Group Name Field”.
- I used the drop down to select the database field that was the original field used for the first column, then clicked OK.
- I went to the the last tab in the Cross-tab expert named “Customize Style” and highlighted the concatenated formula in the “Rows” box.
- I checked the option “Suppress Subtotal” (if not already checked) and clicked OK.
The cross-tab then looked like the one on the right.