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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors