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

New Customer with Variables

Hi, I need to sort our customers into new, returning, multiple purchases in current financial year who bought in the previous year and new customers with multiple purchases in financial year. The dax calculation needs to be dynamic so that i can use it to determine sales amount and orders of product by the customers. 

 

Financial year runs from May-April, so new customers who've acquired between these dates would need to be defined as a new customer.

 

Any help with this would be greatly appreciated!

 

 

 

 

2 REPLIES 2
Jameswh91
Helper III
Helper III

Hi @Mahesh0016

many thanks for your reply, My desired outcome is detailed below, as is my current calculation for new customers the issue is, the calculation is can't separate customers who meet the criteria for all 3 requirements.

 

Requirements need to be: 

 

1. New customer in financial year having made 1 purchase

2. Returning customer from a prior financial year who has made 1 puchase in selected financial year

3. new customers making multiple purchases in finaincial year

4. returning customers from a prior fy who make multpile purchasses in selected financial year

Mahesh0016
Super User
Super User

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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.

Top Solution Authors