I tried changing my formula as suggested in the solutions that you sent the link for, unfortunately, it is giving me the exact same numbers as my original formula.
Hi @gkhokher. As @Keith suggested, to help the forum members consider options, please provide a sample PBIX that illustrates your issue. Context always affects ranking results unless specifically excluded, which does not appear to be the case here.
Greg
The data in the file is confidential. So, I had to anonymize the data.
I created random sales values etc. and applied the same formula I had on the original file and the formula is working ok on the anonymized file. So, I cannot replicate the issue that I have on the original data.
Figured it out. I was the context. I had other columns in table where I was putting the customer ranking column, those columns had duplicates. Removed them and added appropriate ones (which were directly connected to the table) and the formula started working.