Any way to conditionally hide a dimension/measure?

Is there any way to have a dimension or measure appear for some users but not for other based on some condition? I know we can limit data based on user attributes and some Looker docs even indicate you can change the *label of the field* based on the user. But can you fully hide fields from certain users but not others?

3 REPLIES 3

Hey there,

That's a cool use-case, I believe that you can achieve the hiding of dimensions/measures to users by defining access grants, there are a few examples in the documentation: https://cloud.google.com/looker/docs/reference/param-field-required-access-grants

Hope that helps 🙂

This is interesting thanks! Going to read it over.

This works fine to remove the values from that field, or even a column from a table, but if you apply this and leave the filter, the filter will remain with no values. Any way we can hide/unhide a filter based on a user attribute?