How to merge objects by property
-
- Posts: 12
- Joined: Wed Jan 15, 2014 11:48 am
How to merge objects by property
Hi, I've got a set of objects, called Position. Each Position has properties, for example: UnitPrice, Amount and TaxRate. I'd like to get a list, where (specific properties of) all Positions with the same TaxRate get sumarized (UnitPrice*Amount). How is this possible?
Re: How to merge objects by property
Hello.
Sorry, but we don't understand what problem do you have with creating this report.
Could you describe your issue more detailed?
Thank you.
Sorry, but we don't understand what problem do you have with creating this report.
Could you describe your issue more detailed?
Thank you.
Re: How to merge objects by property
Hello,
Can you please send us a sample with test data for analysis.
Also please see the samples with business objects in our Demo.
Thank you.
Can you please send us a sample with test data for analysis.
Also please see the samples with business objects in our Demo.
Thank you.
-
- Posts: 12
- Joined: Wed Jan 15, 2014 11:48 am
Re: How to merge objects by property
At the moment, i've a table like this:
the first Column = Positions.TaxRate
the second Column = Positions.UnitPrice*Positions.Amount
the third Column = Positions.UnitPrice*Positions.Amount*(Positions.TaxRate/100)
By Processing duplicates only in the column row I get this:
But what i want is this:
Also I tried to set the second and third column on "merge based on tag", the result was this:
Inside the attached File, "Datenband1; Bussinesobject: Positions" the last 3 columns are the relevant ones.
the first Column = Positions.TaxRate
the second Column = Positions.UnitPrice*Positions.Amount
the third Column = Positions.UnitPrice*Positions.Amount*(Positions.TaxRate/100)
Code: Select all
0% Tax | 150 $ | 0 $
0% Tax | 20 $ | 0 $
5% Tax | 100 $ | 5 $
10% Tax | 250 $ | 25 $
Code: Select all
0% Tax | 150 $ | 0 $
| 20 $ | 0 $
5% Tax | 100 $ | 5 $
10% Tax | 250 $ | 25 $
Code: Select all
0% Tax | 170 $ | 0 $
5% Tax | 100 $ | 5 $
10% Tax | 250 $ | 25 $
Code: Select all
0% Tax | 150 $ | 0 $
| |
5% Tax | |
10% Tax | |
- Attachments
-
- ServiceReportStandardSteuer.mrt
- (146.75 KiB) Downloaded 336 times
Re: How to merge objects by property
Hello
You should use Group Header Band instead of the Processing Duplicates property.
Please, look at the attached report template. Thank you.
You should use Group Header Band instead of the Processing Duplicates property.
Please, look at the attached report template. Thank you.