Forum Discussion

powerbidev123's avatar
powerbidev123
Icon for Solution Sage rankSolution Sage
1 month ago
Solved

DatesYTD ,TotalYTD

What is the difference between DatesYTD and TotalYTD in simple terms

  • DatesYTD returns a table of dates (usually to use in a calculate function or filter)
    TotalYTD Returns a calculated value based on what parameters you pass the function

     

    DatesYTD is just identifying all the dates in the year so far

    TotalYTD is actually calculating an expression based on the dates in the current year so far

1 Reply

  • DatesYTD returns a table of dates (usually to use in a calculate function or filter)
    TotalYTD Returns a calculated value based on what parameters you pass the function

     

    DatesYTD is just identifying all the dates in the year so far

    TotalYTD is actually calculating an expression based on the dates in the current year so far