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
Marianna
Frequent Visitor

Help w/ DAX identify "active" from 1 period, then count from this selection closed in diff period

Hello, I need some help with 2 meaures, one is a count and the second is a sum for below criteria:

Step 1: identify list of "active" (from a column) IDs in a specific month, ex, Jan. 

Step 2: from those that were active in Jan (this should be the "Download Date"), identify which ones closed within a 6 months period i.e. Jan till Jun (the period is identified by another column called "Closed Date"). 

Measure 1 => count these IDs that closed

Measure 2 => sum the values of these IDs

 

The month is based on a slicer selection.  I have a date table, linked to a table that has data for all months appended. 

This is an example of the data; in this case, I want to count ID1 because it existed in the beginning of my period, but I want to exclude ID2

Marianna_0-1684738785922.png

 

Appreciate your help!

 

1 REPLY 1
amitchandak
Super User
Super User

@Marianna , refer if a similar approach can help, in the blog and file

 

Power BI: HR Analytics - Employees as on Date: https://youtu.be/e6Y-l_JtCq4
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

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.