Forum Discussion

VikramAdi's avatar
VikramAdi
Icon for Helper II rankHelper II
2 years ago
Solved

How to get counts based on selected max date with created date and validated date

  Attched screen shot example need to convert in DAX. Please help me here. dax  
  • ryan_mayu's avatar
    2 years ago

    VikramAdi 

    you can try this

    Measure = CALCULATE(count('Table'[Username]),FILTER('Table','Table'[Created date]<=max('date'[Column])&&'Table'[Valid to Date]>=max('date'[Column])))

    pls see the attachment below