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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.