Forum Discussion
mertolocel
2 years agoFrequent Visitor
REMOVEFILTERS Confusing Behavior
Hello, I came upon a case which got me super confused about the way DAX works. I'd appreciate it if you guys could take a look. Here is my model, there are 3 tables date, dim and fact as below ...
- 2 years ago
mertolocel , Use it in countx like this
CALCULATE(COUNTx(FILTER(Employee,Employee[Start Date]<=max('Table'[Date]) && (ISBLANK(Employee[End Date]) || Employee[End Date]>max('Table'[Date]))),(Employee[Employee Id ])),CROSSFILTER(Employee[Start Date],'Table'[Date],None))
mertolocel
2 years agoFrequent Visitor
Oh my god man, I can die in peace now. Thank you so much.
I love your content by the way,
Cheers.