Forum Discussion
Anonymous
3 years agoNot applicable
Complex Budget Density per Day Calculation
Hello all,
thanks for the attention.
I am not able to solve a issue I meet up
I have the following table A:
| Progetto | Business Line | Status | Activity Budget | Start date | End Date | Delta Days | Density Budget per days |
| A1 | K | Open | 15.000 € | 15/07/2022 | 23/09/2022 | 70 | 214 € |
| A2 | X | Close | 3.000 € | 09/09/2022 | 07/10/2022 | 28 | 107 € |
| A3 | M | Hold | 1.700 € | 04/11/2022 | 01/12/2022 | 27 | 63 € |
| A4 | M | Open | 5.000 € | 30/12/2022 | 25/01/2023 | 26 | 192 € |
| A5 | X | Close | 10.000 € | 24/02/2023 | 21/03/2023 | 25 | 400 € |
| A6 | Y | Hold | 6.800 € | 21/04/2023 | 15/05/2023 | 24 | 283 € |
| A7 | Y | Close | 1.000 € | 16/06/2023 | 09/07/2023 | 23 | 43 € |
Delta days : difference between end date and start date
Density: Activity Budget / Delta days
I would like to get a table/mesures that permits to get the density for each days in the following way:
for each days of the calendar, it sums the density of all projects if they are started and not ended in that date.
I was able to obtain a good results creating a new table (B) with all days and then sum density (Last column) if project is active (between start and end date) using this formula:
Density_rev = calculate(sum('A'[Density]),filter('A',and('A'[Start date]<'Date'[Date],'A'[End Date]>'Date'[Date])))
but of course in this way I am not able to use the filter from Table A.
is there a way to get the same result while still being able to use the filters?
but of course in this way I am not able to use the filter from Table A.
is there a way to get the same result while still being able to use the filters?
I understand it is a very complex question (for me)
Many thanks who can advice me
GV
1 Reply
- lbendlinSuper User
Your sample data is not covering all potential scenarios. Please validate the attached carefully.