Forum Discussion
Counting rows
I've found something like this on the forums:
Count of Active Employee =
VAR currentDate =
MAX ( 'DateTable1'[Date] )
RETURN
CALCULATE (
COUNTROWS ( Master ),
FILTER (
ALL(Master),
( Master[Start Date] <= currentDate
&& Master[End Date] >= currentDate )
But it seems like it is not working.
Hi ozgurozturk98,
Besed your description, if I understand your sceanrio correctly that the first five columns are the original data and the last column is what you want?
If it is, I'm still a little confused about your scenario, it seems that the colmn is calculated based on the FA-aantal, but what is the logic condition?
Could you describe your scenario in more details?
Best Regards,
Cherry