"Filter" to select column

Ill try to be as concise and simple as possible:

I have 2 columns with numbers.

I can create a bar chart for each column.

I would like a filter to switch between the columns.

I'm new to Tableau so apologies if there's an obvious way to do this. I haven't found it so far.

Topic tableau

Category Data Science

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.