I have a dataset with the fields customer and date.
I can build a formula for distinct costumers and show for each month, but I’d like to make a formula to calculate the customers who have purchased at least once in the last 12 months, from the month I am showing,
But with that formula is only for the current month, but If I want to use distinct_count for March-23 where the range is from March-23 to Feb-22 doesn’t work. I tried to adapt with:
Sorry if I explained myself wrong, what I mean is that I need to show by month the number of different users that there have been in that month and in the previous 11; in such a way that I start on November 23 measuring users from November 23 to December 22 and I end, for example, on January 23 measuring January 23 to February 22
I changed the field headers for simplicity and easy of use.
Did this solution work for you? I am marking this reply as, “Solution,” but let us know if this is not resolved. Thanks for posting your questions on the QuickSight Community Q&A Forum!
Hi, thanks for your answer, with this solution counts all the customers but not the different or unique customers. Can you think of any other solution?