Forum Discussion
yiying
Helper I
8 years agoHow to calculate days worked
So here is my data Full Name Date Days Worked ANTHONY 3/1/2018 0:00 1 ANTHONY 3/3/2018 0:00 1 ANTHONY 3/6/2018 0:00 1 ANTHONY 3/7/2018 0:00 1 ANTHONY 3/7/2018 0:00 ...
- 8 years ago
Hi yiying,
Try out this measure please.
Measure = COUNTX ( SUMMARIZE ( 'Complete WO', 'Complete WO'[Full Name], 'Complete WO'[Datekey] ), [Datekey] )Best Regards,
Dale
- 8 years ago
Hi,
This measure gives 12 as the answer
=COUNTROWS(SUMMARIZE(Data,Data[Full Name],Data[Date]))
Hope this helps.
jthomson
Solution Sage
8 years agoIs there more data in your table that you need to retain outside of these fields you list, or could you not look at the full name and date fields and remove duplicates?
yiying
Helper I
8 years agoI need to keep those data. That duplicate means that person have 2 activity that day. Sorry about the confusion.