Showing results for 
Search instead for 
Did you mean: 
Marcin Helper V
Helper V

DAX filter with data



 I have table with users where is column named "First Contract Date" , some are empty, type Date. 


I need make calculation with another table "Events"  where is hours time measure bo using only users with First Contract Date earlier than today. 


I made this 

CALCULATE( [Working Days]*8 - ([Days Vacation]+[Days Vacation S]+[Days Sick])*8 - [Hours Projects] - [Hours Sales], FILTER(Users, Users[First Contract Date] < NOW()))


Unfortunately I is not working, shows Hours for all users without filtering. 

Super User I
Super User I

Re: DAX filter with data



can you give some examples of the data with teh firstcontractdate, your new column


is this all in one table?

Did I answer your question? Mark my post as a solution.
Proud a to be a Datanaut!
Microsoft v-huizhn-msft

Re: DAX filter with data

Hi @Marcin,

If there is relationship between your two tables?  'all users without filtering' means that the FILTER written in DAX didn't affect your measure? Could you please share more details or sample table as @vanessafvg said? So that we can post the solution which is close to your requirements.


Helpful resources

New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors