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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.