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
dengydongn
Microsoft Employee
Microsoft Employee

Create user retention chart on daily basis

Trying to create a user retention rate chart, input would be userid/date, and output would be given a certain date, how much percentage of user returned on a future date up to today, see below sample, I dont really have a clue, so any pointers are appreciated.

 

input

user_id   date
a5/1/2020
a5/2/2020
a5/3/2020
b5/1/2020
c5/1/2020
c5/2/2020
d5/1/2020
e5/1/2020
f5/1/2020
g5/1/2020

 

output

   5/2/2020  5/3/2020  5/4/2020  5/5/2020  5/6/2020  5/7/2020
5/1/2020  10%8%7%12%9%8%
5/2/2020 4%5%20%3%4%
5/3/2020  6%6%6%6%
5/4/2020   6%6%6%
5/5/2020    6%6%
5/6/2020     6%

 

5/7/2020 is the max date from input table (or just today to make it simpler). The table is read as 10% distinct users who visited my website on 5/1 returned on 5/2.

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi , @dengydongn 

Could you please tell me whether your problem has been solved?
If it is,  please mark the helpful replies or add your reply as Answered to close this thread.
More people will learn new things here. If you haven't, please feel free to ask.

 

Best Regards,
Community Support Team _ Eason

 

amitchandak
Super User
Super User

@dengydongn , Very similar to cohort Analysis, refer if these can help

https://finance-bi.com/power-bi-cohort-analysis/

http://funbiworld.com/2019-12-02-cohort-analysis/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.

Top Solution Authors
Top Kudoed Authors