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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
raymondvz
Regular Visitor

Calculate active customers

Hi,

 

For a project I am working on I need to calculate the total number of active accounts. 

 

In every row I have a start date of the account and an expire date of the account. 

 

Name           Start Date         End date         

1                    1-sep                 1-okt

2                    5-okt                 10-nov

..

 

345                 6-okt                 1-dec

 

 

I would like to know how many active accounts there per month. Anyone have a suggestion how to calculate this?

 

Thank you!

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @raymondvz,

 

I'm not clear what's your logic to calculate the active customers, but you could have a reference of this similar thread first which has been solved with Dax and M query.

 

If you still need help, please share your data sample as table and your desired output so that I can understand your requirement better and get the solution.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.