benbotektips
MIS
If report prompts are loading too slowly when opening an impromptu report, they may be 'taking the long way home' (from Supertramp-1980). There are 2 things to do about this.
1) avoid report picklists, go with catalog picklists. While report picklists are more flexible and require no database editing, 9 out of 10 data situations I've encountered can be addressed via the database, either inserting into or updating tables, or creating views and catalog prompting on them. Impromptu treats a view just like a table, including joins.
2) the 'use' and 'display' buttons matter. Let's say there's a numeric, length 4 employee_id field, and a character employee_name field, 25 bytes. When building the catalog prompt in prompt manager, call it 'employee', throw the employee_id field into the 'use' box, and the employee name into the 'display'. In the report filter, simply code for the 'use field', i.e. ---> employee_id in
?employee?. The list of employees displayed will still be by name, not id. You can also build the prompt in the catalog, vs. the report, especailly if it's a common prompt used in > 1 report. The principle is the same, 'use' (or build the prompt list) on the code, 'display' (have the report print) the decode. Especially on numeric code fields, prompt appear performance approves, sometimes dramatically.
As the cherry on top of the sundae, this works very well for shortening cube build time in Powerplay, make the 'source' the short numeric code, and the 'label' the longer decode whcih will appear as the dimension
1) avoid report picklists, go with catalog picklists. While report picklists are more flexible and require no database editing, 9 out of 10 data situations I've encountered can be addressed via the database, either inserting into or updating tables, or creating views and catalog prompting on them. Impromptu treats a view just like a table, including joins.
2) the 'use' and 'display' buttons matter. Let's say there's a numeric, length 4 employee_id field, and a character employee_name field, 25 bytes. When building the catalog prompt in prompt manager, call it 'employee', throw the employee_id field into the 'use' box, and the employee name into the 'display'. In the report filter, simply code for the 'use field', i.e. ---> employee_id in
?employee?. The list of employees displayed will still be by name, not id. You can also build the prompt in the catalog, vs. the report, especailly if it's a common prompt used in > 1 report. The principle is the same, 'use' (or build the prompt list) on the code, 'display' (have the report print) the decode. Especially on numeric code fields, prompt appear performance approves, sometimes dramatically.
As the cherry on top of the sundae, this works very well for shortening cube build time in Powerplay, make the 'source' the short numeric code, and the 'label' the longer decode whcih will appear as the dimension