---
schema_version: "1"
id: bc1e77703f827411c2b403a6cc46d00e126dc795d761417c8de320b576f03e61
title: Add the Predicate to the Metadata File
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/analytics/264-0-0/bi_security_rowlevel_example_recordownership_addpredicate.md
canonical_url: https://help.salesforce.com/s/articleView?id=analytics.bi_security_rowlevel_example_recordownership_addpredicate.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 465913d9bf70144f47c3030d0e6afaf01f0791ba8139f471c18f1a240b12526a
description: For a dataset created from a CSV file, you can specify the predicate in the metadata file associated with the CSV file or when you edit the dataset.
products:
  - CRM Analytics
  - Cross Cloud
release: "264"
---
# Add the Predicate to the Metadata File

For a dataset created from a CSV file, you can specify the predicate in the metadata file associated with the CSV file or when you edit the dataset.

You must escape the double quotes around string values when entering a predicate in the metadata file.

In this example, you add the predicate to the metadata file shown below.

```
{ 
   "fileFormat": { 
   "charsetName": "UTF-8", 
   "fieldsDelimitedBy": ",", 
   "fieldsEnclosedBy": """, 
   "numberOfLinesToIgnore": 1 }, 
   "objects": [ 
      { 
         "name": "Targets", 
         "fullyQualifiedName": "Targets",
         "label": "Targets", 
         "rowLevelSecurityFilter": "'AccountOwner' == "$User.Name"", 
         "fields": [ 
      { 
         "name": "AccountOwner", 
         "fullyQualifiedName": "Targets.AccountOwner", 
         "label": "Account Owner", 
         "type": "Text" 
      }, 
      { 
         "name": "Region", 
         "fullyQualifiedName": "Targets.Region", 
         "label": "Region", 
         "type": "Text" 
      }, 
      { 
         "name": "Target", 
         "fullyQualifiedName": "Targets.Target", 
         "label": "Target", 
         "type": "Numeric", 
         "precision": 16, 
         "scale": 0, 
         "defaultValue": "0", 
         "format": null 
      }, 
      { 
         "name": "TargetDate", 
         "fullyQualifiedName": "Targets.TargetDate", 
         "label": "TargetDate", 
         "description": "", 
         "type": "Date", 
         "format": "dd/MM/yy HH:mm:ss", 
         "isSystemField": false, 
         "fiscalMonthOffset": 0 
      } 
      ]
      } 
   ]
}
```