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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Paulyeo11
Impactful Individual
Impactful Individual

How to Flag customer not buying more then 6 month ?

4 REPLIES 4
amitchandak
Super User
Super User

@Paulyeo11 , Have rolling 6 measure , exmple

Rolling 6 = CALCULATE([Sales],DATESINPERIOD('Date'[Date],ENDOFMONTH('Date'[Date]),-6,MONTH))  

 

No transaction in last 6 month = Sumx(VALUES(Customer[Customer Id]),if(ISBLANK([Rolling 6]) , 1,BLANK()))

 

Change mesure/column  as per need

 

refer my blog on similar lines

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

 

Hi Amit

Thank you for your sharing , that is what i need , i get error :-

Paulyeo11_0-1611051255582.png

https://www.dropbox.com/s/1obxq18jgd6945s/PBT_V2021_112%20flag%20more%20then%206%20month%20not%20buy...

Above is my PBI :-

I create 7 month rolling at Date table .

Paul

 

@Paulyeo11 , extra ] that was causing

try , use in a measure not in column

Sumx(VALUES(SALES[COMPANY]),if(ISBLANK([Rolling 6]) , 1,BLANK())) 

 

Hi Amit 

now no more error , may i know how to use the field not buy for last 6 month ? i try to place at filter panel , it does not work. as i can drag the field in.

Paul

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.