How to add the OLAP table column names using variables

I need multiple column details in OLAP table . Rather than defined all the column names in table use drop down function and select one column names in the list it will display the list of items in particular column. How to create this steps using variable and olap table?