cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Need help with Active date spans aggregation

I have a table that has data for members in a span format (such as 1/1/18 - 2/28/18) but may have varying characterisitcs that may change during the span.  What I want is to be able to summarize the file into a table that has one row per member for each month and identifies the category that member was in on the earliest day of that month.

 

Ultimately, I want the first table below to be summarized into the second table.  The end goal is to be able to build some visuals around monthly active membership.

 

1.PNG

 

2.PNG

1 ACCEPTED SOLUTION
Super User III
Super User III

Hi,

 

You may refer to my solution in this file.  Click on the Data Table in the left hand side panel and then go to the Aggregated data table.

 

Hope this helps.

 

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

4 REPLIES 4
Super User III
Super User III

Hi,

 

You may refer to my solution in this file.  Click on the Data Table in the left hand side panel and then go to the Aggregated data table.

 

Hope this helps.

 

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

Thank you for the quick solution!

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Super User IV
Super User IV

There are some fundamental issues with what you are trying to do here. I believe what you are going to have to do is do some type of join operation to get a table of all months in which someone is a member. Don't really have time to play with it right now but that's going to have to be the approach. 


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Microsoft Ignite

Microsoft Ignite with Arun Ulag

Featured Session: Drive Data Culture with Power BI- Vision, Strategy & Roadmap. Register here https://myignite.microsoft.com #MSIgnite #PowerPlatform #Power BI ​

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors