Hi, I am interested in User Data Filters (<https:/...
# gooddata-cn
a
Hi, I am interested in User Data Filters (https://www.gooddata.com/docs/cloud-native/3.7/workspaces/user-data-filters/). Does applying User Data Filters make it so you can't see values within columns, or does it remove the column from visibility or does it remove rows ?
For example, on my side a client may which to see account data, but may not have permission to see values in one column (say they can know revenue numbers exist, but they cannot see what they actually are.)
j
Hi Alex, If we use your terminology, the User Data Filters (UDF) can remove particular rows within the specific columns. If we take the example from our documentation:
Copy code
{
  "data": {
    "type": "userDataFilter",
    "id": "country",
    "attributes": {
      "maql": "{label/CUSTOMER_COUNTRY} = \"Canada\"",
      "title": "tenant filtered to Canada Only"
    },
    "relationships": {
      "user": {
        "data": {
          "id": "john.doe_tenant",
          "type": "user"
        }
      }
    }
  }
}
The above UDF would make sure that the specific user “john.doe_tenant” would only see the value (row) Canada while using the CUSTOMER_COUNTRY attribute (column) in the analytics.
Does this help to answer your question?
a
Yes, than you @Julius Kos! Is there any other way to filter what values can be seen in a column (i.e. nulling values) ? Or only row level?
j
@Alex Gertman not sure if I fully understand, could you please provide some example how should such filtering look like?