Forum Discussion
filtered data showing wrong result
Hello All,
I have a data file with 64 Records contain users data. I have trying to filter the data to create a new table with the filtered data. I am trying to count the number of users that we active at one point in the month of April. I want to count them if the were active for at least one day in April in there position. Here is the how I wrote the code to create the new table
Roster[ ID], Roster[Division], Roster[Region], Roster[Role]
)
Hi Mathur! thank you again for your help on this. I went back and check the data again and the query used to pull the data was not correct. You are correct that it is 34. I should have looked a litle closer at that.
Everything is working fine now.
Thank you so much again
5 Replies
- Ashish_MathurSuper User
Hi,
My thought is to split each row into one row for each month between the start date and the earlier of (Termination date or End date). This will lead to a number of rows being generated. If you are amenable to my approach then i can try to implement it. Let me know.
- Chrisg07Frequent Visitor
Yes, please feel free to try your approach. I would though it would be pretty simple. I guess not. Thank you so much for your prompt response.
- Ashish_MathurSuper User
The answer should be 34 (not 40). Please find attached my solution file.
Hope this helps.