How to make Account balance report

As we know that some reports such as balance sheet is encapsulated, we cannot figure the tables and logic that how to generate the balance sheet. I want to make a report that spread horizontally different years and periods’ Jan~Dec balance, then How Can do this?