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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
seanpratt291
Frequent Visitor

Sales Data Questions

Good afternoon,

I used to have an account here but could not for the life of me get it to log in - just perpetual circles of signing in. Anyways, traditionally I've used PowerBI for non-sales based data but today is different and hoping my questions are extremely basic.

 

I'm looking to create new/returning customer metrics but tied to the product (ie, the first time a customer buys an apple vs the second time).

There are two questions I need immediate help with.

 

1) I want to understand the % of people who purchase the product only once, who purchase it twice, and who purchase it more times... what's the best way to get the "repeat customer of multiple times" part?

 

2) I need to understand the average time between purchases for these repeat customers buying the product.

 

Any help would be greatly appreciated. Thank you!

 

Edit: I should also mention my tables are basically clean and tabular. The sales data has Customer ID | Product ID | Date of Sale and I have a calendar table

 

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@seanpratt291 , A sample data would help.

But refer these two blog and video. They will give you idea how to approch the solution then solution

Customer Retention Part 1:
https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/b...
Customer Retention Part 2: Period over Period Retention :https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retenti...

 

https://youtu.be/Q1vPWmfI25o?t=751

 

First , second purchase can be column Rank on date -Subcategory rank

For Rank Refer these links
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
AlB
Community Champion
Community Champion

Hi @seanpratt291 

Can you provide

A)  a sample of the (relevant) tables in your model? In text-tabular format so that the data can be copied. Or just share the pbix

B) a more detailed (conceptual) explanation of how you would calculate both point 1 and 2, ideally based on the sample data adn withe the expected result. Particularly point 2, to eliminate ambiguity

 

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

 

 

 

 

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!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.