Summary
BI Publisher RTF Template Suggestions (Financial Report)
Content
Hello,
I'm trying to develop an appropriate BI Publisher RTF Template for a report that we need.. Basically the report will use a Tree structure and for each level of the Tree it will get some information from databases and sort them depending on tree level..
The input parameters of the report includes:
Business Unit, Fiscal Year, Accounting Period From, Accounting Period To, Level of detail requested..
The tree structure will be like this:
- MAIN
- Tree Member 1 - Level 1
- Level 1 - Member 1 Sublevel 1 - Member 1 (L2)
- Level 1 - Member 1 Sublevel 1 - Member 2 (L2)
- Level 1 - Member 1 Sublevel 1 Member 2 Sublevel 2 - Member 1 (L3)
- Level 1 - Member 1 Sublevel 1 Member 2 Sublevel 2 - Member 2 (L3)
- Level 1 - Sublevel 1 - Member 3 (L2)
- Tree Member 2 - Level 1
- Level 1 - Member 2 Sublevel 1 - Member (L2)
You get the idea... Let's say for argument's sake there will be only 3 levels (it will most likely be more but 3 is enough to give the idea I think).
The generic report template is as follows:
| Member Name | Allocated Budget | Expense | Difference (Budget - Expense)
|
|---|
| MAIN TOTAL | B + B1 | E + E1 | D + D1 |
| L1 Member 1 | B = Q + N | E = W + M | D = P + L |
| L1 - Member 1 Sublevel 1 - Member 1 (L2) | Q | W | P = Q+W |
| L1 - Member 1 Sublevel 1 - Member 2 (L2) | N = X+Z | M = Y+V | L = (X-Y)+(Z-V) |
| L1 - Member 1 Sublevel 1 Member 2 Sublevel 2 - Member 1 (L3) | X | Y | X-Y |
| L1 - Member 1 Sublevel 1 Member 2 Sublevel 2 - Member 2 (L3) | Z | V | Z-V |
| L1 Member 2 | B1.... | E1... | D1..... |
| L1 - Member 2 Sublevel 1 - Member 1 (L2) | Q1 | W1 | P1 |
| | | |
Now think about this but with more level 2s and 3s and 4s (Thinking we will need 5 levels). Also there will be more L1s of course, probably say around 15 at least.
The idea is if a user requests (to follow the example table above) a L3 detailed report, all the rows will be showing. However if the user say asks for a L2 detailed report, L3s won't be shown in detail for each L2, but in this case L2s and L1s should still contain the correct monetary amount for budget and expense, it's just that the user will specify which level of detail they want to see and report will be structured in such a way to allow them to do this, the data inside the report will not change, just what user sees will change.
I thought about creating variables for each level and using them to calculate the other amounts (like a running total), and using a hidden column to specify levels, and to use an IF condition to hide the row if the level requested != level of current row, but I'm not too sure how to implement it just yet.
The report source will be a query inside PeopleSoft and the report will be generated to the webpage and / or excel depending on user preferences.
How would you go around creating a template for this? Any ideas and feedback is appreciated.
Thank you!