Jovix
Member
Hello everyone, hope you can help me out. I need to do the following in a Oneworld report.
Sum "CostAmount" where "CostType" = Type1 and Type6
and Sum "CostAmount" where "CostType" = Type2 and Type5
etc...
and format it kinda like a crosstab query in MS Access
I currently have a report that looks like this;
PartNo----|Cost Amount--|CostType---|
12345-----|50.00-----------|Type1------|
12345-----|75.00-----------|Type2------|
12345-----|45.00-----------|Type3------|
12345-----|90.00-----------|Type4------|
12345-----|100.00---------|Type5------|
12345-----|25.00-----------|Type6------|
I need it to look like this;
Part------|CostAmountTotal-1and6---|CostAmountTotal-2and5--|
12345---|75.00--------------------------|175.00-----------------|
So based on the Part Number I need the report to look at the costtype and then sum the costamount accordingly.
hope you understand my gibberish and hope you can help
Thanks in Advance,
Jovix
Sum "CostAmount" where "CostType" = Type1 and Type6
and Sum "CostAmount" where "CostType" = Type2 and Type5
etc...
and format it kinda like a crosstab query in MS Access
I currently have a report that looks like this;
PartNo----|Cost Amount--|CostType---|
12345-----|50.00-----------|Type1------|
12345-----|75.00-----------|Type2------|
12345-----|45.00-----------|Type3------|
12345-----|90.00-----------|Type4------|
12345-----|100.00---------|Type5------|
12345-----|25.00-----------|Type6------|
I need it to look like this;
Part------|CostAmountTotal-1and6---|CostAmountTotal-2and5--|
12345---|75.00--------------------------|175.00-----------------|
So based on the Part Number I need the report to look at the costtype and then sum the costamount accordingly.
hope you understand my gibberish and hope you can help
Thanks in Advance,
Jovix