Forum Discussion
Greg888
4 years agoHelper I
Getting a max step from a group
Hi All I have what I think could be a fairly simply problem to solve but I have been going around and around in circles to try to get the answer and now I'm just stuck or not understanding why th...
- 4 years ago
MaxStepNo = MAXX( FILTER( 'Document Steps', 'Document Steps'[DocNumber] = EARLIER( 'Document Steps'[DocNumber] ) ), 'Document Steps'[StepNo] )
CNENFRNL
4 years agoCommunity Champion
MaxStepNo =
MAXX(
FILTER(
'Document Steps',
'Document Steps'[DocNumber] = EARLIER( 'Document Steps'[DocNumber] )
),
'Document Steps'[StepNo]
)Greg888
4 years agoHelper I
ok thank you for this so that produced the last step correctly as a number in the column
I then did a
IF(Document Steps [MaxStep] = DocumentSteps[StepNo],1,0)
Which has given me a column I can use going foward. Thanks for all your help