---
schema_version: "1"
id: ea373522c6159360d68dad844242457f7cf0dccc5d7d994bd17645684454f3b9
title: 关于数据策略
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/server-linux/ipa_vconn_about_data_policy.md
canonical_url: https://help.tableau.com/current/server-linux/zh-cn/ipa_vconn_about_data_policy.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 51bcf00c9c61a621a2e241e78fe5c0e736d1434a87b228fdb08a008235e47d93
description: Quick help on data policies that apply row-level security in a virtual connection.
---
[跳转到主要内容](#main-content)

# 关于数据策略

当您想要将行级安全性应用于连接中的一个或多个表时，请使用数据策略。数据策略适用于实时连接和数据提取连接。

数据策略有三个主要组成部分：

![数据策略的三个组成部分的示例](/tableau/current/zh-cn/server-linux/zh-cn/Img/ipa_vconns_policy_components.png)

1. 应用该策略的表称为策略表。这些表是经过筛选的表。
2. 定义表之间（例如，权利表和事实表之间）以及表列和策略列之间关系的映射字段。策略列是用于筛选数据的列。
3. 策略条件，它是在查询时针对每一行进行计算的表达式。当为 TRUE 时，该行显示在查询中。

若要开始操作，请单击 ![“创建新策略”按钮](/tableau/current/zh-cn/server-linux/zh-cn/Img/ipa_Create_New_Policy_btn.png)。

[阅读完整主题](https://help.tableau.com/current/server-linux/zh-cn/dm_vconn_create_rlspolicy.htm)

## 相关任务

[关于虚拟连接编辑器](https://help.tableau.com/current/server-linux/zh-cn/ipa_vconn_about_editor.htm)

[将表添加到连接](https://help.tableau.com/current/server-linux/zh-cn/ipa_vconn_add_tables.htm)

[创建和测试数据策略](https://help.tableau.com/current/server-linux/zh-cn/ipa_vconn_create_data_policy.htm)

未找到您需要的内容？

联机查看[所有 Tableau 帮助](https://www.tableau.com/zh-cn/support/help)