The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello, I have a measure that adds up the billing value of customers who NEVER bought BUT BUY in the last two months.
When including the measure of the sum of these values, I cannot use the Calendar table. How do I show these measurement values of the last two months?
Below is the formula I use to show customers who NEVER bought BUT BUY in the last two months:
Solved! Go to Solution.
@Diego_Vialle , Consider this
Customer has transaction in last 60 days
Rolling 60 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-60,Day))
Customer do have in last 60 days
countx(values(Customer[Customer]) , if(isblank([Rolling 60]), [Customer], Blank())
refer
Customer Retention Part 5: LTD Vs Period Retention
https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-5-LTD-and-PeriodYoY-Retentio...
Customer Retention Part 2: Period over Period Retention :https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retenti...
@Diego_Vialle , Consider this
Customer has transaction in last 60 days
Rolling 60 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-60,Day))
Customer do have in last 60 days
countx(values(Customer[Customer]) , if(isblank([Rolling 60]), [Customer], Blank())
refer
Customer Retention Part 5: LTD Vs Period Retention
https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-5-LTD-and-PeriodYoY-Retentio...
Customer Retention Part 2: Period over Period Retention :https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retenti...
User | Count |
---|---|
26 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
30 | |
15 | |
12 | |
12 | |
7 |