Metabase Shows Yesterday. How to Check the Latest Complete Valuation in Excel
A dashboard can select yesterday correctly and still show an incomplete valuation. The date control chooses which date to look at. The reporting team’s approval log tells you which date is ready to report.
A public Metabase question asks for a date picker that opens to yesterday or the latest available valuation. A reply shows how to switch a basic SQL date variable to a field filter. That addresses relative dates. The separate records check below answers which date the report should use when a site is late.
Set up the Metabase date filter
For a native SQL question, map a Field Filter to the valuation date field. In the SQL condition, replace valuation_date = {{arg_valuation_date}} with {{arg_valuation_date}} so Metabase supplies the predicate for that variable. Connect the dashboard date widget to the variable and confirm that each relevant card uses the intended date field. Relative date and single date answer different questions, so keep the selected date visible on the dashboard. A dynamically approved valuation date needs a rule in the model or query using the approval data.
Find the latest approved date in the supporting records
These two synthetic exports contain dates only, with one value per site and date. North and South are required. Under this example’s policy, finance approves a date after both feeds have arrived and their key and amount checks are complete. The approval log has one row per date, and the value file represents the same approved versions when a date is marked Approved.
Import the values into A1:C6 and the approval log into E1:F4. Load both date fields as Excel dates, the value as a number, and enter November 3, 2026 in K2 as the latest eligible valuation date.
Valuation date,Site,Value USD
2026-10-30,North,900
2026-10-30,South,600
2026-11-02,North,1000
2026-11-02,South,750
2026-11-03,North,1250
Valuation date,Status
2026-10-30,Approved
2026-11-02,Approved
2026-11-03,Pending
In G2, enter the first formula and copy it through G4. Enter the next two formulas in K3 and K4, respectively. Format K3 as a date and K4 as USD.
=IF(AND(F2="Approved",ISNUMBER(E2),E2<=$K$2),E2,0)
=IF(MAX(G2:G4)=0,"Review",MAX(G2:G4))
=IF(ISNUMBER(K3),SUMIF(A2:A6,K3,C2:C6),"Review")
The selected date is November 2 and the value is USD 1,750, from C4:C5. The November 3 filter returns just the North row at A6:C6, for USD 1,250. The USD 500 difference is between those two views of the synthetic records, so it does not tell you what South was worth on November 3. If no eligible date is approved, both results read Review.
Check the date, keys and version before reporting
For a real audit, keep the valuation date separate from the load timestamp. Confirm the expected site list and check for one row per site and date, numeric values, and a matching snapshot or batch ID if you receive revisions. Keep dates with missing or duplicate records pending. If a user explicitly selects a pending date, show that state with the partial value rather than quietly substituting a different date.
Save the source rows and approval log to separate tabs in Excel and ask Jolene.pro to identify the latest approved date within the cutoff, list the rows that add up to its total and show which expected sites are missing from the later date. On the next refresh, run the same question with the new exports and check the cited date and value cells against the dashboard.