Overview
The TOTALYTD function calculates the year-to-date value of an expression from the start of the calendar year through the current date in context. It is a time intelligence function that requires a proper Date table marked as a date table and an active relationship to your fact data.
It is ideal for cumulative KPIs—revenue YTD, units YTD, budget YTD—where each month or day should show the running total from January 1st forward.