in my table `Table2` I have some amounts organized by date. Not all the months are present.

I need a query that gives me one row for each month of a year, so 12 rows: January, February, and so on.

For each month; I need the sum of all the amounts of the same month and the result by month.

I have tried with the following code that gives me `Table2 Query` but it is not what I need. For example, here we have just 6 months instead of 12 and they are not organized chronologically. 

```
SELECT DISTINCTROW Format$([Table2].[Data],'mmmm yyyy') AS [Data By Month], Sum(Table2.Budget) AS [Sum Of Budget]
FROM Table2
GROUP BY Format$([Table2].[Data],'mmmm yyyy'), Year([Table2].[Data])*12+DatePart('m',[Table2].[Data])-1;

```

[![enter image description here](https://i.stack.imgur.com/QqVnV.jpg)](https://i.stack.imgur.com/QqVnV.jpg)

[![enter image description here](https://i.stack.imgur.com/FyIEd.jpg)](https://i.stack.imgur.com/FyIEd.jpg)