Spread Expenses by day
Hi,
How can I get the expenses by day in a BIP Data Set ?
I would like to have the expenses of my projet from the data date to the end of the project.
Thanks
Regards,
Pierre
I have to adapt the Start date and End Date to the P6 query no ?
What about <date: 1 day before project start date> ? does it remain like this ?
hi,,
Thanks for this answer.
Which query do I have to use in your exemple ?
Do it in the/a query ...
this will give you the dates for your project:
SELECT LEVEL n,
<date: 1 day before project start date> + level AS dt
FROM DUAL
CONNECT BY LEVEL <= (project end date - project start date)
Then you can add in the daily average:
Total expenses / number of days and put that on each row in the above date list ...
with dts as (
CONNECT BY LEVEL <= (project end date - project start date)),
num_days as ( select max(n) dys from dts)
select x.*,
(tot_exp/d) daily_avg_exp
from (
select cal.*, (select dys from numb_days) d,
(select total_exp from project_table where project _id = <proj_id>) tot_exp
from dts cal) x
Let the Database handle the data ...
If I understand well you split the global cost of the project linearly between the start and the end date.
I would like to increase the accuracy by getting the planned cost per day.
replace the these bits with what you have ...
CONNECT BY LEVEL <= (<project end date> - <project start date>)),
select cal.*, (select dys from num_days) d,
"How can I get the expenses by day in a BIP Data Set ?
I would like to have the expenses of my projet from the data date to the end of the project."
I gave you what you asked ... I have no idea what source you have - how the data is laid out, etc ...
Where AI meets business outcomes Oracle AI World brings the Oracle community together to explore how AI and other technology innovations are driving real business outcomes across industries. Discover what’s new through: Mainstage keynotes to hear the latest directly from Oracle leadership Product demonstrations Customer…
I tried the following expression and it blows up when I select more that one value in the list see image
We are using Oracle Analytics Server 2026 with WebLogic Server 14.1.2. Our Account Statement report is accessed through '/xmlpserver'. We need to capture the following details in the OAS/Publisher log files whenever a user runs the report: Username Report name and path Report execution timestamp Account Number From Date To…
We need to download a report with the order number as the file name. In the main report, we have a data action (hyperlink) on each order number. When we click an order number, the linked report is downloaded with the corresponding order details. Currently, the file is downloaded using the report name. We need to download…
Hi all I work in UK healthcare across 30 hospitals nationwide, and we're currently reviewing our Oracle estate and roadmap. Part of that is deciding whether to make a case for investing further in Oracle Analytics Cloud for workforce reporting, or whether OTBI and our existing tools are enough for now. Our HR data sits in…