Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 27 | |
| 24 | |
| 18 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 42 | |
| 41 | |
| 38 | |
| 37 |