how can I call a different column

I want to have an inline filter that has the option to select "A" and "B" 

I have a table that has 2 columns called "A" and "B" 

If I select A, how can I get looker to read from column A and when I select B, get it to read column B? 

0 2 103
2 REPLIES 2

Hi @BrianLewis 

Thanks for your question. Our partner wrote an article on this that should help you out. (https://blog.montrealanalytics.com/limit-5-create-a-dynamic-field-in-looker-d9e6b15be666)

You can do this with some liquid and parameters/filters depending on the use case.

Let me know if you have any questions.

Regards,
Rob

Hi Brian,

This would be a great use case for creating parameters within your LookML. Our documentation has examples on how to achieve this here

You could create a parameter for your users to select column A or B within the filter and a dimension that includes the results.

Top Labels in this Space
Top Solution Authors