It is giving as I expected now.
Can you help on me on one more doubt.
Discrete usually works for Dimensions and continuous on measures.
Can you correct me on this.
The discrete/continuous date format is mostly based around the visual style displayed. Here is a good read to tell you the difference: Continuous and Discrete
Basically, Discrete = Separate, Continuous = Together.