I am having a table name tbl_details where it gives output as column name Memo No., Client Name, Stoneid, Status along with values given below. I tried many solutions from SF but none worked for me, so i posted here.
Question: I want to find number of Stoneid is Pending, Completed and Returned and if Total No. of Stones column is equal to No. Of Stones Completed then Final Status will be Completed. I am sharing the 4 Scenerios in below images
I am new to this. Any help will be appreciated.