Forum Discussion

madscientist's avatar
madscientist
Frequent Visitor
6 years ago
Solved

Challenge with date calcs

Hi - seeking help from this great community!   I am trying to prepare a table that has full quarter (QTR) and QTD information at the same time using sample data below:   Data: Product      Date ...
  • lbendlin's avatar
    lbendlin
    6 years ago

    Something like this (there are many ways)

     

    QTR=

    var currQ = max(Dates[Quarter])

    Return Calculate([amt],Dates[Quarter] = currQ)