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
lprbi
Advocate I
Advocate I

DAX: New, Returning Customers and Base of Customers

Hello,

 

Trying to get a calculated Measure that shows me the New Customers I get by month(for example).

Tryed several DAX samples but none have the effect.

 

Distinct Customers = My Active Customers in the month OK!

PreExisting Customers = My Base of Customers to the period

New Customers 

 

This one give me the result but only day by day, if I have any agreggate returns Blank:

 

DistinctCustomers =
DISTINCTCOUNT(CUSTOMERS[CUSTOMER_ID])
 
PreExisting Customers =
CALCULATE([DistinctCustomers];
DATESBETWEEN(ORDERS[ORDER_DATE];
0;
FIRSTDATE(ORDERS[ORDER_DATE])-1
)
)
 
NewCustomers = DistinctCustomers - PreExisting Customer



Please help!

Thank You

1 ACCEPTED SOLUTION
greggyb
Resident Rockstar
Resident Rockstar
1 REPLY 1
greggyb
Resident Rockstar
Resident Rockstar

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.