thanks for the reply .. sorry if this is a little hard to understand,
the screenshot was done by the following sql query:
select column1, column2, amount, 1 month, 2 month from table group by column1, column2
if the user deselects column1 (hide it from the…