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
Anonymous
Not applicable

Revenue Organic Vs New Customer

Hi All, 

 

I'm trying to work out Revenue split between Organic V New Customer. 

 

So it would be Revenue this month Aug20 split

 

Organic definition

- if they had any rev BEFORE the 12 months from Aug 20 then they are ‘organic’ (ie if its current month Aug 20, then go back to Aug19 and look at the 12 months from this point...ie 24 months before now being the starting point)

 

New Customer
- if they didn't have any rev in that period Sept18 to Aug19, then the rev they have in Aug20 is new business

 

Any Advice would be greatly appreciated!

Peter

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

hi @Anonymous 

Try to create two rolling date calculation with if conditional see if it is blank to determine whether is Organic or New Customer.

https://www.sqlbi.com/articles/rolling-12-months-average-in-dax/

 

if you still have the problem ,please share your sample pbix file and your expected output.

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

@Anonymous , With a date table

examples

Rolling 12 = CALCULATE([Sales],DATESINPERIOD('Date'[Date],ENDOFMONTH('Date'[Date]),-12,MONTH))
Rolling 12 before 12 before three = CALCULATE([Sales],DATESINPERIOD('Date'[Date],eomonth(max('Date'[Date]),-12),-12,MONTH))

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
Appreciate your Kudos.

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.