---
schema_version: "1"
id: 7aa7a38e5e3c521b1609933bfb85b02dfc472e5b5a67e039e5f435513a80a042
title: Data Preview Sampling
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/analytics/264-0-0/bi_integrate_recipe_data_sampling.md
canonical_url: https://help.salesforce.com/s/articleView?id=analytics.bi_integrate_recipe_data_sampling.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 62767a0e335128c6f956e64c72dac7aaa2fcf547f59c5827f132666c541c0ad5
description: In CRM Analytics, use data preview sampling to see a more accurate picture of your data at each node in Preview. By widening the sample size and selecting the mode to arrange your data, data sampling helps prevent working without preview data. Select Filtered Rows to isolate specific values. Select All Column Values to populate a sample when you need to see all column values, such as when creating a bucket.
products:
  - CRM Analytics
  - Cross Cloud
release: "264"
---
# Data Preview Sampling

In CRM Analytics, use data preview sampling to see a more accurate picture of your data at each node in Preview. By widening the sample size and selecting the mode to arrange your data, data sampling helps prevent working without preview data. Select **Filtered Rows** to isolate specific values. Select **All Column Values** to populate a sample when you need to see all column values, such as when creating a bucket.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_note.png)

Note This feature is available for datasets, direct data, and SFDC\_LOCAL connections.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
          <colgroup>
            <col style="width:50%">
            <col style="width:50%">
          </colgroup>
          <thead class="slds-text-title_caps ">
            <tr class="">
              <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d73857e47">User Permissions
                Needed</th>
            </tr>
          </thead>
          <tbody>
            <tr class="">
              <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d73857e47 ">To manage and create a recipe:</td>

              <td class="slds-cell-wrap" style="vertical-align:top;" headers="d73857e47 ">Edit CRM Analytics Dataflows OR Edit Dataset Recipes</td>

            </tr>
          </tbody>
        </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_note.png)

Note Nodes such as joins, filters, and transforms apply their logic to the sample data. This means that the sample set can become empty. For example, if the input sample rows for a join node don’t have IDs in common, no sample data is shown in the node. Similarly, if a filter’s criteria removes all the sample rows, all subsequent nodes display no sample data.

1. In a recipe input node, under Data Preview Sampling, select a **Sample Size**, the number of rows to include in Preview.
    
    ![Input node details section with Data Preview Sampling higlighted. A sample size of 2000 rows is selected.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/resources-global/analytics/images/bi_integrate_data_prep_sampling_size.png)
2. Under Sampling Mode, select the mode that best fits the needs of your data. Select **All Column Values** to populate a sample when you must see all column values, such as when creating a bucket. Select **Filtered Rows** to isolate specific values. For datasets, you can also select **Random Sampling** to get a random selection of rows.
    
    ![Input node details section with Sampling Mode dropdown selected. Filtered Rows is selected from the available options.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/resources-global/analytics/images/bi_integrate_data_prep_sampling_filtered_rows.png)
3. If you choose the Filtered Rows sampling mode, click the **+** under Filter and choose the column value to filter on. Select the values to include in your filtered results.
    
    ![Window displaying standard filtering options to choose which values to filter on a selected column.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/resources-global/analytics/images/bi_integrate_data_prep_sampling_values.png)
4. Click **Apply**.
    
    ![Input node details section displays all selected values in the filter sample.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/resources-global/analytics/images/bi_integrate_data_prep_sampling_apply.png)