Measure formula in Power BI Desktop

Barto

Board Regular
Joined
Jul 30, 2013
Messages
78
Hi,

Hope this is the right forum. I have a database of employees each with a start date and in the termination date column it populate with a termination data if they have resigned but it blank if there are still active.

I'm trying to report on the active headcount but date (date X) so the formula needs to pick of if an employee "was" active on a specific date (date x)

I need a measure formula in Power BI Desktop that is "countifs" type of formula

The formula needs to count if meeting 3 criteria

StartDate is Greater than or equal to date X
TerminationDate is less than or equal to date x OR is blank

hope this makes sense
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Hope someone will confirm this but I think you should play with =CALCULATE() as it is and I quote Rob Collie "A Supercharged SUMIF()"
 
Upvote 0

Forum statistics

Threads
1,226,693
Messages
6,192,471
Members
453,726
Latest member
JoeH57

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top