on 2025 Jan 14 9:59 AM
Hi,
We want to create the query with 100 projects with several years selected for the initial budget
We want to compare the initial budget with the current budget
The year and period for the initial budget depends on when the project started
Example query with3 projects
Prompt : Year :2025 Period : 001
Option 1: use the range for year and period for the initial budget
| Initial budget | Current budget | Variance | ||||
| Year | period | Amount | Year | period | Amount |
|
Customizing | [2000;2024] | [001;012] |
| Prompt:2025 | Prompt:001 |
|
|
Project 1 | 2022 | 005 | 100 | 2025 | 001 | 95 | 5 |
Project 2 | 2012 | 004 | 200 | 2025 | 001 | 210 | -10 |
Project 3 | 2024 | 012 | 50 | 2025 | 001 | 48 | 2 |
Inconvenient: bad performance because the range is large for year and period
Option 2: transformation the year and period for the initial budget with the fixed value
| Initial budget | Current budget | Variance | ||||
| Year | period | Amount | Year | period | Amount |
|
Customizing | 9999 | 012 |
| Prompt:2025 | Prompt:001 |
|
|
Project 1 |
|
| 100 | 2025 | 001 | 95 | 5 |
Project 2 |
|
| 200 | 2025 | 001 | 210 | -10 |
Project 3 |
|
| 50 | 2025 | 001 | 48 | 2 |
Inconvenient : lost information when the project started
Question : do you have the other option?
Thanks
Bastien
Request clarification before answering.
| User | Count |
|---|---|
| 39 | |
| 26 | |
| 21 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.