Hi tamerj1 , thanks, now, it works.
but it must work without dim table. Because I need to use any other catogorical column.
Let's say, If I have a column where names are there (ex - A, B, C, D ----etc.). then I want to make it work ? how we can do that ?