Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi ,
How calculate Client returning by month ?
Sample : ( left table, all data )
I want calculate number of users active in the month that were also active in the preceding month
In july ,I must have just 1 , only toto@test.com ordered in june
the goal is to create the middle graph
How do the join on the email on the previous month ?
thanks for your helps
Hi @Cobra77 ,
How do you make the right table, I think if you have that table you can do the chart using the value of last month > 0.
If you don't have table, I think if you can change your query, you can try to left join the table using the month = month - 1 and name = name to get the last month value.
Please try.
Aiolos Zhao
Hi @Anonymous
the right table : with measures
Nb Montant = SUM(Table1[Montant])
Nb Previous Month = CALCULATE([Nb Montant];PREVIOUSMONTH('Calendar'[Date]))
MM = IF ([Nb Previous Month] >0 ;DISTINCTCOUNTNOBLANK( Table1[Email]); BLANK() )
Its MM that I searched optimize and good result in the graphic middle
thanks
Hi @Cobra77 ,
I think your way is a good method to finish the middle chart,
for now I can't find a better way to solve that...
Aiolos Zhao
Hi @Anonymous
How can you do a join on the same table ?
on email = email and MONTH = previousMONTH ?
Thanks
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
72 | |
37 | |
31 | |
26 |
User | Count |
---|---|
96 | |
84 | |
43 | |
40 | |
35 |