Thanks dealdas for the reply.
It worked now. Basically, I had a wrong relation established between the dimension and the fact table. So, I deleted the fact table again along with all the related dimensions. And then created the Measure group alone. Then it showed. On top of it, I tried with the relation I needed with the dimension.
By Trial & error method, I got what I needed.