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

 

  • 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

1 Reply

  • 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