I currently have this formula:
ANY(SELECT(Backup[Batch Number],([Barcode]=(MAXROW("Backup","_ROWNUMBER")))))
This returns me the [batch number] that correlates with the most recent [Barcode] in the Backup table.
I need this formula to return the [Batch Number] that correlates with the most recent [Barcode] that also has the same USEREMAIL() in the [Listed User Email] column.
Something like this, but this is obviously wrong:
ANY(SELECT(Backup[Batch Number],([Barcode]=AND((MAXROW("Backup","_ROWNUMBER")),([Listed User Email]=USEREMAIL()))))
Any help would be greatly appreciated
Solved! Go to Solution.
Utilize the third parameter of MAXROW for the useremail matching condition.
Utilize the third parameter of MAXROW for the useremail matching condition.
@Marc_Dillon Much appreciated, works a treat. I had seen that on the MAXROW info page but had misunderstood it completely.
For anyone else reading this that wants the solution equation:
ANY(SELECT(Backup[Batch Number],([Barcode]=(MAXROW("Backup","_ROWNUMBER",[Listing User Email]=USEREMAIL())))))
User | Count |
---|---|
15 | |
14 | |
8 | |
7 | |
4 |