Forum Discussion
kheldar
Sep 01, 2021Iron Contributor
Filtering Away Certain Duplicate Values in Pivot Data Source
Hello, I'm using Pivot Table and Slicer to filter data from a raw data source. Our employees work rotating shifts. Between those shifts there are overlap hours. I created a file to track their perfo...
- Sep 05, 2021
Changed the Name 1 to Name01
Sorted the dataset by Name and No. of Initial Moderation Tasks
created filter columns rank, count, subnum, ref
did a power query on dataset including filter columns
created 2 reference queries Top 2 and Bottoms queries
filtered out bottoms on Top 2 reference query
filtered out Top2 on Bottoms reference query
cheers
kheldar
Sep 03, 2021Iron Contributor
Thank you for answering. I edited the file including shifts for each employee and made it more concise and readable. Including only 1 set of data for 1 day. Also someone else suggested me using a helper to identify overlap hours and exclude them using slicer but It's not working as intended. It's not my formula.
Yea_So
Sep 05, 2021Bronze Contributor
on the screen shot below how can anyone tell which ones the duplicates are for that employee:
- kheldarSep 05, 2021Iron ContributorThis is very it gets complicated I believe. Employee 1 is on mid shift. so morning and night are duplicates. So If Moderation task of queue 1 is less than lets say %30 of other queue 1s they are duplicate.
- Yea_SoSep 05, 2021Bronze ContributorIf I were to make a wild guess on the screenshot image
I would pick row 2 and row 160 to be the actual shifts, the rest are overlaps.
What are your thoughts on my guess?- kheldarSep 05, 2021Iron ContributorEmployee 1 is on mid shift. So he appears on both morning and night shift overlaps which I want to exclude him from. I don't know how to write the formula but the logic comes to my mind is that take the max of these values, including only max ignore rest.