<p>Hi everyone, </p>
<p> </p>
<p>I'm new to this forum and BIRT and I'm using Eclipse 4.5.1 Mars with BIRT.</p>
<p> </p>
<p>A data set creates a table with article positions in my report.</p>
<p>One row displays all the VAT rates for each position.</p>
<p>I want to create an aggregation of each VAT rate. </p>
<p>Let's say I got three times a VAT rate of 16% and one VAT rate of 10%.</p>
<p>I need an aggregation of all 16% VAT rates and an aggregation of all 10% VAT rates.</p>
<p>If we could get this to aggregate dynamically every possible VAT rate in my report, that would be awesome!</p>
<p> </p>
<p>I basically don't know which VAT rates and how many of them will appear in my report, but I want to aggregate them to display a simple invoice with an detailed overview of what caused the costs and values.</p>
<p> </p>
<p>I already tried to get all the appearing VAT rates in the onFetch script of that data set and saved them in an array in a report variable.</p>
<p> </p>
<p>Let's say there are three times 16% and one time 10%. The first position is being read and I save the value 16 in my array. Next row, I check if the value 16 is already in my array, if this is true I won't save the value again and therefore won't add it to my array. Next row ... You get my point ? </p>
<p>But I don't know how to iterate through that array and add new dynamic text elements to my report to display them in the overview at the end.</p>
<p> </p>
<p>If there are any questions to my topic, feel free to ask, I know that I'm not very good at describing

</p>
<p>"Example1.png" is the one I want to archive (this is my Paint skill) and "Example2.png" is what it actually looks like.</p>
<p>
Thanks in advance </p>
<p>
Max</p>