Loading
CRM Analytics
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Plan the Dataflow

          Plan the Dataflow

          Before you start creating the dataflow, think about the dataflow design. Consider what data to make available for queries, where to extract the data from, and whether you must transform the extracted data to get the data you want.

          To illustrate some key design decisions, let’s consider an example. In this example, the goal is to create a dataset called “Won Opportunities.” The dataset contains opportunity details, including the account name for each opportunity.

          To create this dataset, design this dataflow.

          The dataflow extracts and joins data from Opportunity and Account, filters the records, and registers the resulting dataset.

          The dataflow extracts opportunity data from the Opportunity object and extracts the account name from the Account object. For each extracted object, the dataflow creates a dataset.

          The dataflow then transforms the datasets created from the extracted data. First, the dataflow joins the opportunity and account data into a new dataset. Next, the dataflow filters the records based on the opportunity stage so that the dataset contains only won opportunities. Each time the dataflow transforms a dataset, it creates a dataset.

          Note
          Note If you want to flatten your hierarchy, do so before you join datasets. In this example that requirement means flattening the Account dataset before joining the Opportunity dataset. If you flatten after the join, the transformation doesn't create the flatten hierarchy data you expect.

          Finally, because you want users to be able to query won opportunities only, you configure the dataflow to register the final dataset only. However, if you wanted, you could register any dataset created by the dataflow and register as many datasets as you like.

           
          Loading
          Salesforce Help | Article