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.
I am trying to calculate an employee count based on these conditions:
TermDate is blank or (TermDate > 4/1/2019 and Term Date <= 6/30/2019)
I have tried many combinations and it's not working. Here is my what I currently have the count is not correct.
Solved! Go to Solution.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsRegards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsGive this a try.
TEST2 = CALCULATE ( DISTINCTCOUNT(ResourceAllocationFact[EmployeeID]), FILTER(EmployeeDim, OR(EmployeeDim[TermDate]= blank(), AND(EmployeeDim[TermDate]> 4/1/2019, EmployeeDim[TermDate]<=6/30/2019 ) ) ) )
IF this doesn't work, can you outline specifically what criteria you need with some sample data and an example of the desired outcome.
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 |
---|---|
107 | |
94 | |
76 | |
62 | |
50 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |