Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I am looking to calculate continuous months of membership for any selected account (company). the main formula would be the following:
Selected company : 123 Company
Continuous : if # of continuous months of coverage > 25 months, YES. if no, at what date will company 123 Company have >25 months of coverage?
I would also like to take into account that there could be break in coverage, so for example 123 Company could have been with us for 15 months, but left for 6 months, then returned.
I apologize in advance if there is already a similar question that has already been answered. Any help is greatly appreciated!!
Hi @Anonymous
Does the replies above solve your problem? If it has been solved, please mark the correct reply as the standard answer to help the other members find it more quickly.Thank you very much for your kind cooperation!
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
Hi @amitchandak and @Ashish_Mathur here's a screen shot of what I am trying to accomplish. I hope this helps!
Hi,
I am not sure of how i will get the date of eligibility for you but i think i should be able to get the yes and No. Also, since we are still in September 2021, the number of months for Customers A and B should be 8 complete months (not 9). Am i correct?
If you are OK with the result of only Yes and No, then share the link from where i can download your PBI file.
Hi @Ashish_Mathur ,
Yes I am ok with the result Yes or No, maybe a 2nd formula can be built after the Yes or No is solved.
You are correct, it should be 8 completel months! Attached is sample data!
I am unable to upload my sample data, is there another way I can get it to you?
thank you again for your help!
Hi,
Upload the file to Google Drive and share the download link here.
Hi @Ashish_Mathur , just wanted to check in and see if you were able to open the link?
Hi,
You may refer to my solution in this file.
Hope this helps.
Hi,
Share some data and show the expected result.
@Anonymous , Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
also, refer to Continous Streak
https://community.powerbi.com/t5/Desktop/Need-help-in-DAX/m-p/1277302#M559393
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |