Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Get one week prior text

Hi Experts!   I have a table with Date, Code and a calculated column as "Method". Now I need to add another column/measure with previous week's Method. That is a table like this (this is a very sma...
  • FreemanZ's avatar
    FreemanZ
    3 years ago

    hi Ch 

    try to add a column like:'

    column = 
    MAXX(
        FILTER(
            TableName,
            TableName[Date]=EARLIER(TableName[Date])-7
        ),
        TableName[Method]
    )

     

    it worked like: