Forum Discussion

Tamila's avatar
Tamila
Frequent Visitor
3 years ago
Solved

Problem with datas

Hello to all. Would greatly appreciate your help with the following matter.

I have two tables: 

1. Dates - 1.01.2016 to today (i.e. March 11, 2023)

2. Employees - list of employees with hiring and termination dates.

 

These two tables have inactive relationships dates - hiring date, dates - termination date

 

For headcount calculation, I use max('Date'[Date]).

 

For some reason max(dates) changes depending on the employee, however, should be March 11, 2023 for all employees:

 

 

What could be the reason?

 

Tamila

  • Tamila's avatar
    Tamila
    3 years ago

    Thank you for the suggestion, tried it, same problem(

6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Tamila  Have you tried applying the ALLEXCEPT function to the name column?

    • Tamila's avatar
      Tamila
      Frequent Visitor

      Thank you for the suggestion, tried it, same problem(

      • Anonymous's avatar
        Anonymous
        Not applicable

        Tamila  can you share the measure you wrote?