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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

RESTOCK BY CUSTOMER

Hi everyone,

 

I post here because i haven't find any answer to my question.

 

I have three classicals customers / sales / calendar tables.

 

I would like to have a dynamic measurement of the number of customers doing restock. A restock would be a customer that has more than 1 order for a product (i have a primary key on the order ID).

 

For example, if in january 2021, i have 10 customers ordering a product, i would like to know how many of them are ordering it for the second time or more.

 

Bonus, i would like to have the amount of sales associated to these restocks and the number of restocks.

 

I feel like this subject isn t current so it may help other persons.

 

Thank you for your help.

 

Regards,

Paul

 

For example

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous 

 

Can you please supply a sample data set? It can be as simple as 3 short but representative text tables pasted into here so that others can copy them straight out into their models. Then, you'd show using the tables and a matrix, say, the exact output you're after.

 

To get your answers quickly... please follow this advice: How to Get Your Question Answered Quickly (powerbi.com)

 

Thanks.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.