Dynamic table records columns

Dynamic table records columns

  
Hello, it is possibility to make table record columns dynamic?
I my situation I have chart and below chart I want to add table which details chart information. Attaching example what I want to do.
In header where '2015-04' etc. should be dynamic colums, by chosen period range as in chart. How I can to do that?
You can't do that, unless you have a fixed (maximum) number of columns, in which case you could hide unused columns.