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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors