The data sources are a SharePoint list (dam info, the lookup table) and an Excel spreadsheet hosted on SharePoint (for the actual data). The current week data is a filtered version of the Excel data.
Below are the relations between the relevant tables:
- DataDamCW and InfoDam are linked on Dam ID/ID, a unique integer for each dam.
- InfoDam and DataDamAll are linked on Dam ID;
- DamDataAll and CalendarMeasures are connected on the date.
I'm not too sure what to include for formulas, since most of the calculated columns on each table aren't relevant for the matrix that's having issues. I've included the formula for DataDamCW in the original post.
Your provided formula unfortunately breaks my relationships (likely not the ones in this network), so it doesn't accept it, but thanks.