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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
jmorela1
Helper I
Helper I

Calculate Based on Filtered Segment

I am in need of assistance to write formulas to determine

% of total customers that were repeat within same calendar year

% of total customers that were repeat lifetime

 

Needs to calcuate by respective year and product (in slicer)

 

Thanks for any help you can provide!

 

Repeat.pbix

RepeatPurchaser_B.xlsx

1 ACCEPTED SOLUTION
mizan2390
Resolver II
Resolver II

hi @jmorela1 
I am not really sure what you actually want to do with your data. The data you have provided have aggregated value of the years along with a column Alltime. However, as SS attached, I tried to calculte. See the file wheter this solves your problem.

mizan2390_0-1774776200326.pngmizan2390_1-1774776215614.pngmizan2390_2-1774776232393.pngmizan2390_3-1774776246483.pngmizan2390_4-1774776265707.pngmizan2390_5-1774776279823.png

Corrected file:  Repeat.pbix

 

If this helped, please consider giving kudos and mark as a solution

@me in replies or I'll lose your thread

View solution in original post

3 REPLIES 3
mizan2390
Resolver II
Resolver II

hi @jmorela1 
I am not really sure what you actually want to do with your data. The data you have provided have aggregated value of the years along with a column Alltime. However, as SS attached, I tried to calculte. See the file wheter this solves your problem.

mizan2390_0-1774776200326.pngmizan2390_1-1774776215614.pngmizan2390_2-1774776232393.pngmizan2390_3-1774776246483.pngmizan2390_4-1774776265707.pngmizan2390_5-1774776279823.png

Corrected file:  Repeat.pbix

 

If this helped, please consider giving kudos and mark as a solution

@me in replies or I'll lose your thread

@mizan2390 This was exactly what I needed. Thank you!

FBergamaschi
Super User
Super User

Hi @jmorela1

I am not clear about what you are asking.

 

Can you please explain a bit in a clearer whay what do you mean by

 

1 % of total customers that were repeat within same calendar year

2 % of total customers that were repeat lifetime

 

and show examples to clarify even better?

 

Thanks

 

If this helped, please consider giving kudos and mark as a solution

@me in replies or I'll lose your thread

Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page

Consider voting this Power BI idea

Francesco Bergamaschi

MBA, M.Eng, M.Econ, Professor of BI

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.