Is it possible to snap shot salesforce data on a daily basis to run point in time reports?
Can Domo capture daily Salesforce snap shot data into the repostory to be used in reports, like opportunities, that can compare two specific dates? For example, we want to compare all the Oppty stages same time last week to see what changed.
Best Answers
-
Definitely. Domo has the ability to create append chains across DataSet runs in order to do snapshotting.
To set this up, simply change your update settings to 'Append' instead of 'Replace':
From their, you can use the _BATCH_LAST_RUN_ value (a column that Domo adds when the DataSet runs) as your snapshotting date.
Cody Irwin
Manager, Technical Solutions
**Say “Thanks” by clicking the “heart” in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"2 -
Note that by taking the approach outline above, you need to be careful when using that DataSet for non-snapshotted use cases since it will automatically count all historical values instead of just the latest snapshot. Normally, we'll run this kind of DataSet through a Magic ETL or DataFlow to add a 'Latest' column that flags which records came in as part of the last run. We'll use that column as a filter for cards that satisfy a current and not a snapshotted use case.
Cody Irwin
Manager, Technical Solutions
**Say “Thanks” by clicking the “heart” in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"2 -
Here's how I would approach this.
Ideally, you would have your Salesforce dataset configured to Append when it updates each week.
Use your Salesforce opportunity dataset as an input to a Magic ETL dataflow. Connect the input dataset to an 'Add Constants' widget, create a new constant column called ReportDate, select Date as the column type and then choose Current Date as the constant value for the new column.
Create an output dataset and name it something like 'Salesforce Oppty Weekly Snapshot.' This way, each week when the Salesforce dataset updates you'll get the entire dataset with a ReportDate field you can use to view opportunities at different points of time.
Let me know if you have other questions about this.
KurtF
**Say “Thanks” by clicking the “heart” in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"2
Answers
-
Please click on "Accept as Solution" on any reply that may have solved your problem.
Thanks!
0
Categories
- 7.7K All Categories
- 3 Connect
- 919 Connectors
- 244 Workbench
- 477 Transform
- 1.8K Magic ETL
- 60 SQL DataFlows
- 446 Datasets
- 37 Visualize
- 198 Beast Mode
- 2K Charting
- 8 Variables
- 1 Automate
- 348 APIs & Domo Developer
- 82 Apps
- Workflows
- 14 Predict
- 3 Jupyter Workspaces
- 11 R & Python Tiles
- 241 Distribute
- 59 Domo Everywhere
- 241 Scheduled Reports
- 15 Manage
- 36 Governance & Security
- 27 Product Ideas
- 1.1K Ideas Exchange
- Community Forums
- 14 Getting Started
- 1 Community Member Introductions
- 49 Community News
- 18 Event Recordings
- 579 日本支部