Forum Discussion
Lookupvalue within same column
Hi SidharthK16 ,
According to your description, you don't want the month to fixed. In my understanding, for each month, you just want to calculate the number of repeated RespondentID comparing with the previous month.
I create a sample.
Here I use number to display the month, if you haven't it like me, you can create one or a rank based on year-month is also OK. Here's my solution, create a calculated column.
Column =
IF (
COUNTROWS (
FILTER (
'Table',
'Table'[Month]
= EARLIER ( 'Table'[Month] ) - 1
&& 'Table'[Repondent Id] = EARLIER ( 'Table'[Repondent Id] )
)
) > 0,
1,
0
)
Get the result.
I attach my sample below for your reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- SidharthK163 years agoFrequent Visitor
Thanks for solution!
But what if I have Multiple months like Jan, Feb ,March, April, May etc.
And I have to check Repeat rates for Jan and March- v-yanjiang-msft3 years ago
Community Support
Hi SidharthK16 ,
Do you mean for each month, you need to check all the previous months? eg for May, need to check repeat with Jan, Feb ,March, April seperately?
Best Regards,
Community Support Team _ kalyj- SidharthK163 years agoFrequent Visitor
No no
Just for two months
Like what all are in Jan are reapeated in March.