Forum Discussion
Anonymous
6 years agoNot applicable
Create a calculated row
I have a "User registration date" and "product purchase date" in my dataset... Simply what I want to do is; when I change date range in slicer, how many of them have become members between these d...
- 6 years ago
hi, Anonymous
Use DISTINCTCOUNT in the formula
Result 3 = var _fromdate=CALCULATE(MIN(Sheet1[New Transaction Date]),ALLSELECTED(Sheet1)) var _enddate=CALCULATE(MAX(Sheet1[New Transaction Date]),ALLSELECTED(Sheet1)) return CALCULATE ( DISTINCTCOUNT( Sheet1[WalletID] ), FILTER ( Sheet1 , Sheet1[New Wallet Createddate] >= _fromdate && Sheet1[New Wallet Createddate] <= _enddate ) )Regards,
Lin
Mariusz
6 years agoCommunity Champion
Hi Anonymous
Can you create a data sample that represents your data model logic?
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.

Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
- Anonymous6 years agoNot applicable
I dont know how to add it, therefore I shared in link below.