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
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"?

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

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

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!

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.

Users online (25)