Objective: use a Data Expression to temporarily combine 2 tables into a single table to feed a chart.
Source Data:
- FMT - Available funding by FY. This has records for each FY.
- MPF - Project funding by FY. This has records for some FYs, only.
Issue: The code only returns records where the FY exists in both FMT and MPF. I tried a modified version of the code where I had it run through and calc MPF budget = 0 for each FY, then loop through each FY and Filter, but this simply added duplicate records where the FY matched for FMT and MPF. Please see attached docs for code and desired vs actual output.