How to use MAXROW with Related List instead of the Table ?

 

How to get MAXROW from Related List instead of the Table ? 
I tried this but doesn’t work

Maxrow([Related Dies], “_rownumber”)

Solved Solved
0 10 406
1 ACCEPTED SOLUTION

Steve
Platinum 4
Platinum 4

You can't use MAXROW() for that. This should be equivalent:

ANY(
  ORDERBY(
    [Related Dies],
    [_ROWNUMBER],
      true
  )
)

View solution in original post

10 REPLIES 10

Steve
Platinum 4
Platinum 4

You can't use MAXROW() for that. This should be equivalent:

ANY(
  ORDERBY(
    [Related Dies],
    [_ROWNUMBER],
      true
  )
)

Can we use time stamp instead of row number?

Yes, you can use a time stamp instead of the row number.

Thanks Steve but this will choose a random value instead of the one with maximum row number. I want the row with maximum row number (the latest one) .

Wrong.

@Steve I am using the following expression to arrange a different table in order to fetch the last value. unfortunately,  it says (ORDERBY has invalid inputs). Am i writing it wrong?

ANY(
		ORDERBY(
    		Submittal RevNo[Rev],
        Submittal RevNo[_RowNumber],
        TRUE
    )

)

 

ANY(
  ORDERBY(
    Submittal RevNo[Rev],
    [_RowNumber],
      TRUE
  )
)

Still giving (ORDERBY has invalid inputs)😞

Thank you. It is comprehensive 🙏

Top Labels in this Space