Forum Discussion
rifdhyh
4 years agoRegular Visitor
Getting Values by MAXIMUM Alphabatic Letter for Distinct Records
Hi All, Good day..! May I ask how can I get the values for "For Resubmit" Column by below conditions My Data Table as below 1. Consider only Latest Revision (Lastest Alphbatical L...
- 4 years ago
Hi rifdhyh
Her eis the sample file with the solution https://we.tl/t-83VSAA2vugFor Resubmit = VAR CurrentRevision = RFA[Revision] VAR CurrentResponse = RFA[Engineers Response] VAR CurrentRFATable = CALCULATETABLE ( RFA, ALLEXCEPT ( RFA, RFA[RFA No] ) ) VAR LatestRevision = MAXX ( CurrentRFATable, RFA[Revision] ) RETURN IF ( CurrentRevision = LatestRevision && CurrentResponse IN { "Data Incomplete, please resubmit", "Rejected" }, 1 )