Hi Sindhu,
You can use Calculated field to group those under first n months and then display using filter or color shelf.
1. First create a calculated field,
![](https://www.edureka.co/community/?qa=blob&qa_blobid=13899525242291841548)
2. Add year in the filter shelf to view only that years details.
![](https://www.edureka.co/community/?qa=blob&qa_blobid=4702869719101050483)
3.Create N value as a parameter.
![](https://www.edureka.co/community/?qa=blob&qa_blobid=16804520086819254481)
4. Now enter N value and add the created calculated field in color shelf to view details. (below shown for N = 1, 3)
![](https://www.edureka.co/community/?qa=blob&qa_blobid=11742261291254413105)
![](https://www.edureka.co/community/?qa=blob&qa_blobid=10692835122481492731)
Hope this helps you.