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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
MDR2018
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
Ashish_Mathur
Super User
Super User

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
Ashish_Mathur
Super User
Super User

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/

Thank you for the quick solution!

You are welcome.


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

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!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.