Forum Discussion
Jaesonkim
3 years agoFrequent Visitor
Counter in between two dates
Hello, i want to have your great solution and idea for the calculation
I want to counter the number of contract between the contract start date and expired date
i have 2 simple table as date lookup and contract table.
if i make filter with the date lookup and i choose certain year month, i want to show the contract number, which are in the between the two dates .
i did below dax measure but it's not working as what i want.
Count contracts in period =
CALCULATE( DISTINCTCOUNT('Table'[Contract No.]), FILTER(ALL('Lookup Date'),'Lookup Date'[Date] <= MAX('Lookup Date'[Date])))
here is the link
Hi Jaesonkim
Please refer to attached sample file with the solutionReally thanks for your help. it's working perfectly 😁