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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
edcdcpowerbi
Helper I
Helper I

Finding repeat clients within 30 days

I need to be able to find repeat clients who have used our service within 30 days of their first acitivty closing. I can get a total of the repeats, but quite clueless on how to find repeat clients within 30 days. 

 

Columns I have:

Client[ClientID] 

Activity[Acitivtyopendate]

Activity[Activityclodedate] 

'Activity'[ActivityID]

 

Total Activity # = DISTINCTCOUNT( 'Activity'[ActivityID] ) + 0
 
Referred Clients # = DISTINCTCOUNT ( 'Referral'[ClientID] ) + 0
 
Repeat Activity # = [Total Activity#] - [Referred Clients #]
 
This gives me the number of repeat clients. i.e. A client with more than one activityID.
But I dont know what to do from here. Sorry I cant provide any more measure, i am very new to DAX.
 
2 REPLIES 2
Anonymous
Not applicable

Hi @edcdcpowerbi,

Can you please share a pbix or some dummy data that keep raw data structure with expected results? They will help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

daXtreme
Solution Sage
Solution Sage

Hi there.

I can't help you because the description of the problem is a bit vague. Would you mind explaining this in some more detail, please? What does it mean, for instance, that you want to "find repeat clients within 30 days"?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.