Loading
The Trailblazer Community is now read-only Read More
Set Up Trade Promotion Management
Set Up Trade Promotion Effectiveness Analytics

Set Up Trade Promotion Effectiveness Analytics

Install the Trade Promotion Management Analytics app, a Tableau Next Intelligent app, to get prebuilt analytics, insights, and dashboards for promotion effectiveness analysis.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, and Unlimited Editions where Trade Promotion Management and Data 360 is enabled
User Permissions Needed

To install the Trade Promotion Management Analytics app

(Permission Sets can be added during setup):

Data Cloud Architect

AND

TPM Admin or equivalent permission set

AND

Tableau Next Admin

To use Trade Promotion Management Analytics App Assets:

Data Cloud User

AND

Tableau Next Limited Consumer

Note
Note Data Cloud User and Tableau Next Limited Consumer is just one supported combination for using the app. For a complete list of supported license and permission set combinations, see Supported License and Permission Set Combinations.

Install the Trade Promotion Management Analytics app to access prebuilt analytics, insights, and dashboards for data-driven promotion effectiveness analysis by using the Extended Trade Promotion Management Analytics semantic data model.

The Trade Promotion Management Analytics app is a Salesforce Tableau Next Intelligent app.

  1. Set up the prerequisites.
    1. Enable Tableau Next. For more information, see Enable Tableau Next.
    2. Verify that the Salesforce Standard Data Model SSOT package is installed. For more information, see View Installed Package Details.
    3. Install the C360 Semantic Data Model.
    4. Install the TPM Data Accrual Kit with Data Model Object (DMO) mappings. The kit provides the required CRM data streams, TPM Data Connector data streams, and data transforms for Trade Promotion Effectiveness analytics. See Install the TPM Accrual Data Kit with Mappings.
  2. From Setup, in the Quick Find box, enter and select Trade Promotion Management Settings.
  3. Click Start to install the Trade Promotion Effectiveness Analytics app and follow the installation wizard.
  4. To verify the installation, enter and select App Hub in the Quick Find box. A Success status confirms that the installation completed successfully. For more information about monitoring intelligent apps, see Monitor Intelligent Apps.
  5. Configure the data connections to import promotion measures and business periods into Data 360.
    1. Follow the instructions in Integrate Trade Promotion Management Data with Data 360 for Enhanced Insights to set up the promotion measures. Skip the step to create a data stream because the data kit installation adds the promotion measures stream automatically. You only need to verify that the stream is present in your org. To see data for prebuilt measures, add the prebuilt measures to the RTR report. For lists of available prebuilt measures, see Promotion Analysis Dashboard and Tactic Analysis Dashboard.
    2. Run the provided Apex snippet in your org. This code brings the business periods from the processing service to the TpmBusinessPeriod TPM Data Connector data stream on Data 360.
      List<String> dataSourceList = new List<String>();
      	Map<String, String> params = new Map<String, String>();
      	cgcloud.OffPlatformCalloutResponse response;
      	Map<String, Object> data = new Map<String, Object>();
      	data.put('salesorg', '*');
      	data.put('object', 'tpmbusinessperiod');
      	String requestBodyContent = JSON.serialize(data, true);
      	cgcloud.OffPlatformCallout request = new cgcloud.OffPlatformCallout('SCHEDULE_RTR_EXPORT', '0001'); // example '0001'response = request.execute(cgcloud.TransactionHandler.getTransactionIdentifier(), params, requestBodyContent);
      	System.debug('execution information:' + response);
      Note
      Note
      • Run this snippet every time you make changes to business periods, such as extending your custom calendar.
      • You can schedule this snippet to run automatically by using Apex if you know your custom calendar extension schedule in advance.
      • Always use * as the salesorg value in the request body. The endpoint exports business periods for all sales organizations.
    3. Run the TPM_PROMOTION_MEASURE data transform in full mode (run all data). This transform converts period data from columns in the promotionmeasures stream into rows, and writes the data into the promotion product measure and promotion offer product measure output Data Lake Objects (DLOs). These output DLOs map to the respective Data Model Objects (DMOs) used in the Trade Promotion Management Analytics Semantic Data Model (SDM).
    4. Optional: To automate this process based on your business requirements, schedule the transform using the Schedule Data Transform. feature.
 
Loading
Salesforce Help | Article