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.
This is my sample measure I used for # of terminations
Solved! Go to Solution.
Hi @tebtim19 ,
I created a sample pbix file(see attachment) for you, please check whether that is what you want. Please note that there is no relationship be created between Employees and dates table...
Terminations =
CALCULATE (
DISTINCTCOUNT ( Employees[EmpID] ),
FILTER (
'Employees',
NOT ( ISBLANK ( Employees[TermDate] ) )
&& 'Employees'[TermDate] <= SELECTEDVALUE ( 'Dates'[Date] )
)
)
Best Regards
Hi @tebtim19 ,
I created a sample pbix file(see attachment) for you, please check whether that is what you want. Please note that there is no relationship be created between Employees and dates table...
Terminations =
CALCULATE (
DISTINCTCOUNT ( Employees[EmpID] ),
FILTER (
'Employees',
NOT ( ISBLANK ( Employees[TermDate] ) )
&& 'Employees'[TermDate] <= SELECTEDVALUE ( 'Dates'[Date] )
)
)
Best Regards
@tebtim19 , Try measure like
Terminations =
CALCULATE(COUNT(Employees[EmpID]),USERELATIONSHIP(Employees[TermDate],'Dates'[Date]),Employees[TermDate] <date(5999,12,31))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
97 | |
96 | |
81 | |
74 | |
66 |
User | Count |
---|---|
126 | |
106 | |
105 | |
86 | |
72 |