jessieyull
Technical User
I have some data that I am reporting on for parts that includes description type columns and pricing columns.
If I bring back all the fields in the usual mannner af placing each of them in the detail section, I get multiple rows for each part as it returns each of the column prices.
I am wanting to take each of the price column headers up to the header area and have the corresponding price for each part print in its correct price column.
I attempted this by creating formula's such as...
if {PRICING_EXTRACT_V.DISPLAY} like "1-24"
then {PRICING_EXTRACT_V.PRICE}
This worked, as it would bring back one row for the part price equal to the 1-24 column. But it would also return the additional rows where the display did not equal 1-24 and would put zeros in for all of the prices.
Just trying a cross tab didn't seem to work as I had other detailed columns to return for each part.
Below are examples of what I am trying to get to.
If anyone could help - that would be great!
Thanks!
CURRENT FORMAT
name display price
part1 1-24 58.5
part1 25-99 11.7
part1 100-499 8.35
part1 500-999 7.8
part2 1-24 53.5
part2 25-99 14.7
part2 100-499 6.35
part2 500-999 5.8
IDEAL FORMAT
name 1-24 25-99 100-499 500-499
part1 58.5 11.7 8.35 7.8
part2 53.5 14.7 6.35 5.8
If I bring back all the fields in the usual mannner af placing each of them in the detail section, I get multiple rows for each part as it returns each of the column prices.
I am wanting to take each of the price column headers up to the header area and have the corresponding price for each part print in its correct price column.
I attempted this by creating formula's such as...
if {PRICING_EXTRACT_V.DISPLAY} like "1-24"
then {PRICING_EXTRACT_V.PRICE}
This worked, as it would bring back one row for the part price equal to the 1-24 column. But it would also return the additional rows where the display did not equal 1-24 and would put zeros in for all of the prices.
Just trying a cross tab didn't seem to work as I had other detailed columns to return for each part.
Below are examples of what I am trying to get to.
If anyone could help - that would be great!
Thanks!
CURRENT FORMAT
name display price
part1 1-24 58.5
part1 25-99 11.7
part1 100-499 8.35
part1 500-999 7.8
part2 1-24 53.5
part2 25-99 14.7
part2 100-499 6.35
part2 500-999 5.8
IDEAL FORMAT
name 1-24 25-99 100-499 500-499
part1 58.5 11.7 8.35 7.8
part2 53.5 14.7 6.35 5.8