This is expression is correct when TransDt is same with same Desc, it is showing max(Prod_id) count but
when TransDt is same and different Desc, it is showing me 1,1 separate count for each Desc so in this situation we want to consider only the records with prod_id is max.