I have a few tables of data.
Date: Date table with a date for each day of the year going back to 1900
Data Table: Employee number, Hire Date, Termination Date
Links: Hire Date and Termination Date are linked to the Date Table
I have 2 Measures:
Current Staff =
Solved! Go to Solution.
HI @petermb72,
It seems like a common date fields analysis requirement, I'd like to suggest you take a look at the following link 'start date' 'end date' part if helps.
If above not help, please share some dummy data to test:
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
HI @petermb72,
It seems like a common date fields analysis requirement, I'd like to suggest you take a look at the following link 'start date' 'end date' part if helps.
If above not help, please share some dummy data to test:
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
So, I found out if I delete the links to the date table the counts work correctly. Not sure why, but it does. I am going to carry on and see where this goes. Any insight on why removing the link to the date table makes a difference in the count?
Please, do not try to re-invent the wheel. Read this: Calculate New, Returning, Lost, and Recovered Customers in #dax - SQLBI
Once you're on www.sqlbi.com use the Search facility to find what you need.
User | Count |
---|---|
136 | |
59 | |
56 | |
55 | |
47 |
User | Count |
---|---|
128 | |
77 | |
55 | |
54 | |
51 |