Comparing values based on their update in google sheets
I am stuck with a very simple yet hard to design dataflow in domo. So just to elaborate my problem, I have a some google sheets where data gets updated once or twice in a month by our different sales team members. Now they have asked me to build a dashboard where I could show them difference between the values or figures from the latest vs last update in the spreadsheet.
The problem is that there is no date column for reference. I just want to automate the process so that whenever they update the numbers in the google sheet, the dashboard table should update automatically and shows the difference or delta value form the previous update. I do not want to do any manual update in the process. Does anybody has some suggestion for me on how to do this in domo?
I can use google sheets connector to get the latest values in domo. But I have to store the values from last update date as well in some dataset. I am not able to figure out how to do that in a automated way.
Have you looked into using a recursive dataflow? You can also utilize a date tile or a formula tile to insert the current date and time when the dataflow ran.
Here's a link to creating recursive dataflows using Magic ETL 2.0: https://domohelp.domo.com/hc/en-us/articles/360057087393-Creating-a-Recursive-Snapshot-DataFlow-in-the-New-Magic-ETL
- Can filter out duplicate records
- The larger the dataset becomes the slower it will run
Another option is to utilize the DataSet Copy connector (https://domohelp.domo.com/hc/en-us/articles/360043436533-DataSet-Copy-DataSet-Connector) with Append update mode to automatically take snapshots of your dataset to then append whenever the copy connector runs. It will automatically add a _BATCH_LAST_RUN_ column containing the timestamp when the copy connector ran.
- Automatically adds an update timestamp
**Was this post helpful? Click Agree or Like below**
- Possibly have duplicated records if ran multiple times before the underlying dataset is updated.
**Did this solve your problem? Accept it as a solution!**0
looooong video about recursive dataflows.
in any event. you'll want to have a data column. maybe =today() or whatever the equivalent is in your google sheet. then you have something you can run your comparison against when you build your dataflow.
the docs have you do a JOIN. I think I'd recommend doing an APPEND and then use the RANK/Window tile first to deduplicate in case you're running your dataflow twice in the same day. THEN use the RANK / LAG,1 tile to compare current value to previous value.Jae Wilson
Check out my 🎥 Domo Training YouTube Channel 👨💻
**Say "Thanks" by clicking the ❤️ in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 472 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 198 Visualize
- 254 Beast Mode
- 2.1K Charting
- 11 Variables
- 82 Cards, Dashboards, Stories
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 178 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive