Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
BIRT - grouping interval or base by user parameter
Kornel
Hi,
is there any way of linking grouping interval or even grouping base (days, months, years...) of results table and user parameter in BIRT design(er?)?
Client request is to have a parameter called "group by weeks/group by moths"... and I have no idea how to implement this.
In "Edit group" window there are two places there scripting is allowed (Group on... and Item Expression) but how to get/set interval value in it?
regards,
tia,
Kornel
Find more posts tagged with
Comments
mwilliams
Hi Kornel,
You probably already figured this out, but for anyone looking for the same...
If you select the group in the outline section of the designer, then click on the script tab, you'll see the script sections for the group. In the onPrepare method, you can set this.interval = "week", this.interval = "month", etc. There are also settings for intervalBase and other group attributes.