Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Create a Derived Dimension
Perform string manipulations on existing dimensions to create a new, or derived,
dimension.
CRM Analytics creates derived dimensions at run time.
Example - Create a Field with City and State
Suppose that you have an Opportunities dataset with a City and a State field. You want to create a single field containing both city and state. Use SAQL to create a derived dimension.
1q = load "Ops";
2q = foreach q generate 'Account' as 'Account', 'Amount' as 'Amount', 'City' + "-" + 'State' as 'City - State';The resulting table contains city and state in the same field.
