Forum Discussion
MiaZhao
8 years agoHelper I
whether in the same day
Hi Everyone,
How to tell whether the events happened on the same day or not? I would like to return column isSame.
| Name | Date | isSame |
| Ann | 1/1/2018 | FALSE |
| Ann | 1/2/2018 | FALSE |
| Mary | 1/2/2018 | TRUE |
| Mary | 1/2/2018 | TRUE |
Thanks.
- Anonymous8 years ago
Try this
IsSame = IF('Table-Test'[Date]=CALCULATE(AVERAGE('Table-Test'[Date]),ALLEXCEPT('Table-Test','Table-Test'[Name])),true)
2 Replies
- AnonymousNot applicable
Try this
IsSame = IF('Table-Test'[Date]=CALCULATE(AVERAGE('Table-Test'[Date]),ALLEXCEPT('Table-Test','Table-Test'[Name])),true)- MiaZhaoHelper I
Brilliant!!
Thanks.