Hi - I have a sample dataset below where I have and ID field, Date field and Amount % field.
The problem I am trying to solve is that currently for each unique ID, the sum of the Amount % = 100% but I would like to reduce the number of decimal places to 2 and manipulate the last (MAX date) Amount % value such that the total for each unique ID still = 100%. Any help will be greatly appreciated!
| ID | Date | Amount % |
| ID_101 | 7/1/2023 | 0.00000000000000 |
| ID_101 | 8/1/2023 | 8.33332530600961 |
| ID_101 | 9/1/2023 | 4.16666265300480 |
| ID_101 | 10/1/2023 | 4.16666265300480 |
| ID_101 | 11/1/2023 | 4.16666265300480 |
| ID_101 | 12/1/2023 | 4.16667641413119 |
| ID_101 | 1/1/2024 | 4.16666265300480 |
| ID_101 | 2/1/2024 | 4.16666265300480 |
| ID_101 | 3/1/2024 | 4.16667641413119 |
| ID_101 | 4/1/2024 | 4.16666265300480 |
| ID_101 | 5/1/2024 | 4.16666265300480 |
| ID_101 | 6/1/2024 | 4.16667641413119 |
| ID_101 | 7/1/2024 | 4.16666265300480 |
| ID_101 | 8/1/2024 | 4.16666265300480 |
| ID_101 | 9/1/2024 | 4.16667641413119 |
| ID_101 | 10/1/2024 | 4.16666265300480 |
| ID_101 | 11/1/2024 | 4.16666265300480 |
| ID_101 | 12/1/2024 | 4.16667641413119 |
| ID_101 | 1/1/2025 | 4.16666265300480 |
| ID_101 | 2/1/2025 | 4.16666265300480 |
| ID_101 | 3/1/2025 | 4.16667641413119 |
| ID_101 | 4/1/2025 | 4.16666265300480 |
| ID_101 | 5/1/2025 | 4.16666265300480 |
| ID_101 | 6/1/2025 | 4.16667641413119 |
| ID_102 | 10/1/2023 | 4.16666014492867 |
| ID_102 | 11/1/2023 | 4.16666014492867 |
| ID_102 | 12/1/2023 | 4.16667971014266 |
| ID_102 | 1/1/2024 | 4.16666014492867 |
| ID_102 | 2/1/2024 | 4.16666014492867 |
| ID_102 | 3/1/2024 | 4.16667971014266 |
| ID_102 | 4/1/2024 | 4.16666014492867 |
| ID_102 | 5/1/2024 | 4.16666014492867 |
| ID_102 | 6/1/2024 | 4.16667971014266 |
| ID_102 | 7/1/2024 | 4.16666014492867 |
| ID_102 | 8/1/2024 | 4.16666014492867 |
| ID_102 | 9/1/2024 | 4.16667971014266 |
| ID_102 | 10/1/2024 | 4.16666014492867 |
| ID_102 | 11/1/2024 | 4.16666014492867 |
| ID_102 | 12/1/2024 | 4.16667971014266 |
| ID_102 | 1/1/2025 | 4.16666014492867 |
| ID_102 | 2/1/2025 | 4.16666014492867 |
| ID_102 | 3/1/2025 | 4.16667971014266 |
| ID_102 | 4/1/2025 | 4.16666014492867 |
| ID_102 | 5/1/2025 | 4.16666014492867 |
| ID_102 | 6/1/2025 | 4.16667971014266 |
| ID_102 | 7/1/2025 | 4.16666014492867 |
| ID_102 | 8/1/2025 | 4.16666014492867 |
| ID_102 | 9/1/2025 | 4.16667971014266 |
Thank you in advance!!!