Let`s say I had table with 4 columns

____________________
|Year|Month|Shop|Value|

? Can i connect `Year` and `Month` columns so i can filter it like this:
|2019
|--↳_1
|--↳_2
|--↳_3
|2018
|--↳_1
|--↳_2
|--↳_3