Forum Discussion
mustafaelryah33
3 years agoFrequent Visitor
dax two dates one id
Dear all I have 2 dates and id column in one table I want to have calendar to calculate how many different id's appeared within each date, I used countrows and working good but it calculate all ro...
- 3 years ago
Thanks for your reply
IT works with another formula using early
CouncilCount = CALCULATE(DISTINCTCOUNT('Sheet1'[id]), filter(Sheet1, Sheet1[pCancelDate]=earlier(CountBook[Date]) ) )
mustafaelryah33
3 years agoFrequent Visitor
Thanks for your reply
IT works with another formula using early
CouncilCount =
CALCULATE(DISTINCTCOUNT('Sheet1'[id]),
filter(Sheet1,
Sheet1[pCancelDate]=earlier(CountBook[Date])
)
)v-chenwuz-msft
3 years agoCommunity Support
Hi mustafaelryah33 ,
I'm glad your problem was solved, please mark it as a solution so that more people can find it quickly.
Best Regards
Community Support Team _ chenwu zhu