Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi everyone,
I really want to create a cohort analysis for new users in Power BI (like the below example in Excel). So every month we get new users and I want to know how many stay a couple of months later. For example, out of the 38 new users in Jan-20, only 25 users stayed two months later.
I have a table with all the users for the last 20 months. In this table, I have both Start_date and Last_date. But I need help with the DAX function and I hope someone can help 🙂
@Anonymous ,
I have done something similar, in order to see the # people lost and # people gained that make up a month over month change in people. I used this SQLBI example to get mine working:
https://www.daxpatterns.com/new-and-returning-customers/
Hope this helps!
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
@Anonymous , very difficult to suggest without looking at data.
check these
https://finance-bi.com/power-bi-cohort-analysis/
http://funbiworld.com/2019-12-02-cohort-analysis/
https://www.youtube.com/watch?v=tuk1CrigTSI
Hi @amitchandak
I've seen these links, but all of them are on customers, so mine is quite different. I want to look at two date columns instead of looking at if the customer appears again.
I have a user_table with 4 columns (User_ID, Name, Start_Date and End_Date). If the user is still member than End_Date is null. Start_date is the y-axis as shown in the example from Excel and to the x-axis, I created the below table:
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
75 | |
55 | |
37 | |
33 |
User | Count |
---|---|
99 | |
56 | |
51 | |
44 | |
40 |