Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage difficulties for aggregation definitions with BIRT 4.9.0 #977

Open
Markus-Elfring opened this issue May 23, 2022 · 2 comments
Open
Milestone

Comments

@Markus-Elfring
Copy link

I noticed finally that aggregation functionality can be inserted into the table widget which is provided by the tool “Eclipse BIRT Designer Version 4.9.0.v202203150031” for the construction of grouped listing reports.
I got the impression then that each call of the dialogue “Aggregation Builder” would extend the data binding.
The available bindings can be controlled in another corresponding dialogue.
It can happen then that multiple definitions are presented according to varying edit (or maintenance) status for aggregation properties.

💭 I would also appreciate if previously defined aggregation fields can be better reused instead of attempting questionable setting repetitions.

@SteveSchafer-Innovent
Copy link
Contributor

I have also noticed that multiple aggregations of the same column on different levels are very redundant in the XML code and it has always bothered me, but I think it might be miss-guided to try to reuse that code. That's because it isn't really code. It's a specification that can include code (javascript) and it's closely tied to how aggregation works in BIRT. Nevertheless, it might be possible to introduce a short-cut: A way to specify an aggregation and tell the designer to replicate that aggregation on other group levels. This would increase the complexity of the designer so it would be a tradeoff.

@hvbtup
Copy link
Contributor

hvbtup commented May 24, 2022

A button to "clone" an aggregation (or any other data binding) could be helpful. Then one would only have to change the "column binding name" and the group level.
For another example, I sometimes have queries with column names like COL1, COL2, COL3 and have to treat these 3 columns in the same way, e.g. to compute a sum for COL1, a sum for COL2, a sum for COL3.
What I do (if there are more than a handful of such columns) is to edit the XML directly. But that's dangerous, one should only do this after a saving a backup of the (working) *.rptdesign file.

@wimjongman wimjongman added this to the 4.13 milestone Jan 5, 2023
@wimjongman wimjongman modified the milestones: 4.13, 4.14 Mar 3, 2023
@wimjongman wimjongman modified the milestones: 4.14, 4.15 Nov 21, 2023
@wimjongman wimjongman modified the milestones: 4.15, 4.16 Mar 27, 2024
@wimjongman wimjongman modified the milestones: 4.16, 4.17 Jun 11, 2024
@wimjongman wimjongman modified the milestones: 4.17, 4.18 Sep 16, 2024
@wimjongman wimjongman modified the milestones: 4.18, 4.19 Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants