• just to be clear.

    What you want is a pivot table with months across the top (columns), days down the side (31 rows, include rows with no logins) and #logins as values in the intersect