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
sovereignauto
Helper III
Helper III

Monthly running conversion

Good Morning, 

 

So im looking for a way to calculate a rolling monthly conversion:

 

I have two fields as part of a larger date set [date ref] (inital approach) and then [date sold] (the date of sale)

So what i would like to do is know the % of customers that buy in month 0 (same calendar month) month 1 or month 2.

But this should be accumulative so month 1 would be month 0 +month 1 and month 2 would be Month 0 + 1 + 2

So for example 100 new customers this month of which 60 buy this month, 15 buy next month and 10 the following month:

 

Month 0 = 60%

Month 1 = 75%
Month 2 = 85%

Any Help would be greatly appreciated.



1 ACCEPTED SOLUTION

@sovereignauto 

please see the attachment below. hope it's helpful.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

6 REPLIES 6
v-janeyg-msft
Community Support
Community Support

Hi, @sovereignauto 

 

I really want to help you but your screenshot is in the form of a matrix. It is difficult for us to imagine what your original data looks like. Can you share some sample fake data and your desired result? So we can help you soon.

 

Best Regards

Janey Guo

Sorry it took so long: 

Screen Shot.PNG

@sovereignauto 

please see the attachment below. hope it's helpful.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




perfect!! 

 

amitchandak
Super User
Super User

@sovereignauto , Please refer to my blog and use how I have done monthly calculation, You can use cumulative revenue

 

Customer Retention Part 3: Period Of Stay – Cohort Analysis: https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-3-Period-Of-Stay-Cohort-Anal...

 

divide(

calculate(sum(Table[revenue]), filter(all('Customer Age bucket'), [Age] <=max([Age])),

calculate(sum(Table[revenue]), all('Customer Age bucket')))

 

or

 

divide(

calculate(sum(Table[revenue]), filter(allselected('Customer Age bucket'), [Age] <=max([Age])),

calculate(sum(Table[revenue]), allselected('Customer Age bucket')))

Thank you for this but for some reason i just cant seem to apply it to my Data. 

There are records where we may have a customer register but never make a sale.

I have a Column for the Datediff in my dataset and have not created the secondary Month table as i dont need it to say "month 1" just "1" will be fine.

so on the matrix I added "converted month" as the Column and "new customer date"  as the rows, and if i add a "count" in i get the right data example below:
Capture.PNG




So how do i get that now as a conversion figure so "blanks" i will deal with after as thats potential sales but month "0" should show as a % of the row total and then month "1" should show as a % of the row total where its 0 and 1 added together so in May its 218 / 537 = 40% for month 1 

im thinking somthing like but i dont know how to get the month-in-matrix part. 

 

Divide( countx(filter('sale',[sale month] < month-in-matrix), sale[ref])),
count(sale[ref]))

 

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.