| Date | Organization Hierarchies | Planning Hierarchies | Spread | Rate | AvgYield |
| 9/30/2024 | Region1 | TOTAL LOANS | 0.0391040 | 0.0503075 | 0.0894115 |
| 9/30/2024 | Region1 | TOTAL DEPOSITS | 0.0195093 | 0.0523728 | 0.0328635 |
| 9/30/2024 | Region2 | TOTAL LOANS | 0.0246889 | 0.0510887 | 0.0757776 |
| 9/30/2024 | Region2 | TOTAL DEPOSITS | 0.0278904 | 0.0518805 | 0.0239902 |
| 12/31/2024 | Region1 | TOTAL LOANS | 0.0363506 | 0.0455367 | 0.0818873 |
| 12/31/2024 | Region1 | TOTAL DEPOSITS | 0.0276596 | 0.0574373 | 0.0297777 |
| 12/31/2024 | Region2 | TOTAL LOANS | 0.0229423 | 0.0494140 | 0.0723563 |
| 12/31/2024 | Region2 | TOTAL DEPOSITS | 0.0231505 | 0.0447552 | 0.0216047 |
| 3/31/2025 | Region1 | TOTAL LOANS | 0.0062319 | 0.0445537 | 0.0507856 |
| 3/31/2025 | Region1 | TOTAL DEPOSITS | 0.0269081 | 0.0546294 | 0.0277214 |
| 3/31/2025 | Region2 | TOTAL LOANS | -0.0088639 | 0.0475873 | 0.0387233 |
| 3/31/2025 | Region2 | TOTAL DEPOSITS | 0.0327228 | 0.0512766 | 0.0185538 |
I have data published quarterly that looks like this. I want to create rows for the missing month-end dates that replicates the data from the most recent quarter end for every combination of Organization Hierarchies and Planning Hierarchies. So my output will look like this:
| Date | Organization Hierarchies | Planning Hierarchies | Spread | Rate | AvgYield |
| 9/30/2024 | Region1 | TOTAL LOANS | 0.0391040 | 0.0503075 | 0.0894115 |
| 9/30/2024 | Region1 | TOTAL DEPOSITS | 0.0195093 | 0.0523728 | 0.0328635 |
| 9/30/2024 | Region2 | TOTAL LOANS | 0.0246889 | 0.0510887 | 0.0757776 |
| 9/30/2024 | Region2 | TOTAL DEPOSITS | 0.0278904 | 0.0518805 | 0.0239902 |
| 10/31/2024 | Region1 | TOTAL LOANS | 0.0391040 | 0.0503075 | 0.0894115 |
| 10/31/2024 | Region1 | TOTAL DEPOSITS | 0.0195093 | 0.0523728 | 0.0328635 |
| 10/31/2024 | Region2 | TOTAL LOANS | 0.0246889 | 0.0510887 | 0.0757776 |
| 10/31/2024 | Region2 | TOTAL DEPOSITS | 0.0278904 | 0.0518805 | 0.0239902 |
| 11/30/2024 | Region1 | TOTAL LOANS | 0.0391040 | 0.0503075 | 0.0894115 |
| 11/30/2024 | Region1 | TOTAL DEPOSITS | 0.0195093 | 0.0523728 | 0.0328635 |
| 11/30/2024 | Region2 | TOTAL LOANS | 0.0246889 | 0.0510887 | 0.0757776 |
| 11/30/2024 | Region2 | TOTAL DEPOSITS | 0.0278904 | 0.0518805 | 0.0239902 |
| 12/31/2024 | Region1 | TOTAL LOANS | 0.0363506 | 0.0455367 | 0.0818873 |
| 12/31/2024 | Region1 | TOTAL DEPOSITS | 0.0276596 | 0.0574373 | 0.0297777 |
| 12/31/2024 | Region2 | TOTAL LOANS | 0.0229423 | 0.0494140 | 0.0723563 |
| 12/31/2024 | Region2 | TOTAL DEPOSITS | 0.0231505 | 0.0447552 | 0.0216047 |
| 1/31/2025 | Region1 | TOTAL LOANS | 0.0363506 | 0.0455367 | 0.0818873 |
| 1/31/2025 | Region1 | TOTAL DEPOSITS | 0.0276596 | 0.0574373 | 0.0297777 |
| 1/31/2025 | Region2 | TOTAL LOANS | 0.0229423 | 0.0494140 | 0.0723563 |
| 1/31/2025 | Region2 | TOTAL DEPOSITS | 0.0231505 | 0.0447552 | 0.0216047 |
| 2/28/2025 | Region1 | TOTAL LOANS | 0.0363506 | 0.0455367 | 0.0818873 |
| 2/28/2025 | Region1 | TOTAL DEPOSITS | 0.0276596 | 0.0574373 | 0.0297777 |
| 2/28/2025 | Region2 | TOTAL LOANS | 0.0229423 | 0.0494140 | 0.0723563 |
| 2/28/2025 | Region2 | TOTAL DEPOSITS | 0.0231505 | 0.0447552 | 0.0216047 |
| 3/31/2025 | Region1 | TOTAL LOANS | 0.0062319 | 0.0445537 | 0.0507856 |
| 3/31/2025 | Region1 | TOTAL DEPOSITS | 0.0269081 | 0.0546294 | 0.0277214 |
| 3/31/2025 | Region2 | TOTAL LOANS | -0.0088639 | 0.0475873 | 0.0387233 |
| 3/31/2025 | Region2 | TOTAL DEPOSITS | 0.0327228 | 0.0512766 | 0.0185538 |
It feels simple but I am struggling to execute.