CognosProfessional
Programmer
Ahoy! Anyone know of a way to get the Average dollars of the past 4 weeks for a prompted week chosen in a year in Impromptu?
This .iqd would then be used to build a cube that would be capable of choice to filter any of all the weeks of a year as options to filter data for a company's past 4 weeks average on that week chosen. Needs to display the projected credit for a price increase in regards to percentages from 1% to 10%.
here's the filter for the 4 weeks past for week chosen:
FROMDATE <=?Prompted date? and FROMDATE>=addmonths(?Prompted date?-1)
here's the calculation for the credit percentages col's:
1%=((total(FROMDATE)/4)*.01*Price)/1
The final Power Play WEB report would resemble something like this with the prompt of 5/11/02 chosen:
For the Week ending May 11, 2002:
Projected Credit for a Price Increase:
ABC Inc. 1% 2% 3% 4% 5% ... 10%
#7234 17.22 34.45 51.67 68.90 86.12 ...172.24
#7235 4.04 8.08 12.12 16.15 20.19 ... 40.38
DEF Inc.
#8325 11.35 22.70 34.05 45.40 56.75 ...113.51
#8443 3.57 7.14 10.72 14.29 17.86 ... 35.72
#8529 0.08 0.16 0.24 0.32 0.40 ... 0.79
My only answer is to create 52 .iqd's as a solution so far. I was wondering if anyone has a more efficient solution. With all of impromptu's functions using Oracle, maybe I am missing out on something that could reduce my whopping 52 .iqd's to a more managable number. IWR is not an option. This has to be a Power Play Web report. Any ideas are welcome...
Thanks,
CP
This .iqd would then be used to build a cube that would be capable of choice to filter any of all the weeks of a year as options to filter data for a company's past 4 weeks average on that week chosen. Needs to display the projected credit for a price increase in regards to percentages from 1% to 10%.
here's the filter for the 4 weeks past for week chosen:
FROMDATE <=?Prompted date? and FROMDATE>=addmonths(?Prompted date?-1)
here's the calculation for the credit percentages col's:
1%=((total(FROMDATE)/4)*.01*Price)/1
The final Power Play WEB report would resemble something like this with the prompt of 5/11/02 chosen:
For the Week ending May 11, 2002:
Projected Credit for a Price Increase:
ABC Inc. 1% 2% 3% 4% 5% ... 10%
#7234 17.22 34.45 51.67 68.90 86.12 ...172.24
#7235 4.04 8.08 12.12 16.15 20.19 ... 40.38
DEF Inc.
#8325 11.35 22.70 34.05 45.40 56.75 ...113.51
#8443 3.57 7.14 10.72 14.29 17.86 ... 35.72
#8529 0.08 0.16 0.24 0.32 0.40 ... 0.79
My only answer is to create 52 .iqd's as a solution so far. I was wondering if anyone has a more efficient solution. With all of impromptu's functions using Oracle, maybe I am missing out on something that could reduce my whopping 52 .iqd's to a more managable number. IWR is not an option. This has to be a Power Play Web report. Any ideas are welcome...
Thanks,
CP