Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Chanleakna123
Post Prodigy
Post Prodigy

Purchase & No Purchase - Last Sum Rolling 3 Months

Hi All , 

i'm using this measure : 

*Total All Customers = DISTINCTCOUNT(Master_Data[Customer Code])
 
My purpose is if i click on July - it will calculated count of Customer Purchased in last sum rolling 3 months .
For Example : Customer Code : 100006629 , purchase only 2 months , but he didn't purchase in May . But he still consider as a purchase customer . but other customers who 0 purchase within 3 months , consider as 3 months No purchase . 
so the filter will be based on selected by single selection on month. 
i will also display this by brand , category , customer , region , segmentation , etc... so we need to ensure the measure is can be applied in all type. 

Test.PNG

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Chanleakna123 , I have done something similar in this blog, see if that can help in this case

Period over Period Retention :https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retenti...

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Chanleakna123 , I have done something similar in this blog, see if that can help in this case

Period over Period Retention :https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retenti...

Awesome , this is so work 🙂 
@amitchandak 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.