Forum Discussion
Anonymous
5 years agoNot applicable
Active Customers by day
I currently count active and unactive customers based on customers who have been in +/- 100 days. My measures only give me a current day view of the active customers. Would it be possible to get a me...
- 5 years ago
Hi, Anonymous
I'm sorry. I modify the measure.
active = COUNTX ( FILTER ( ALL ( Customers ), Customers[CURRENT last order] >= SELECTEDVALUE ( 'Table'[Date] ) - 100 && [CURRENT last order] <= SELECTEDVALUE ( 'Table'[Date] ) ), [customerID] ) + 0inactive = COUNTX ( FILTER ( ALL ( Customers ), Customers[CURRENT last order] < SELECTEDVALUE ( 'Table'[Date] ) - 100 || [CURRENT last order] > SELECTEDVALUE ( 'Table'[Date] ) ), [customerID] ) + 0Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-janeyg-msft
Community Support
5 years agoHi, Anonymous
According to your description, You want to choose a date. If a customer has an order within 100 days of this date, then he is an active user, right?
But there is only month in this table, it will generate the question I replied last time, so what is the final result you want? How to achieve it is not difficult, as long as you are sure what you want.
Best Regards
Janey Guo
Anonymous
5 years agoNot applicable
instead of month think of it as 1/31/2021, 2/28/2021, etc