Forum Discussion

akhaliq7's avatar
akhaliq7
Icon for Post Prodigy rankPost Prodigy
4 years ago
Solved

SHow numeric values based on the latest date

I am creating a sales report and need to display numeric values in my matrix based on the latest weeks figures,now I can't use a basic filter as the old weeks have a last week of 52 but the current y...
  • tamerj1's avatar
    4 years ago

    Hi akhaliq7 

    please  use

    Units Last Week =

    CALCULATE ( SUM ( Sales[Units] ), Sales[weeknum] = MAX ( Sales[weeknum] ) )

    same for income.