Comparing values based on their update in google sheets
Hello,
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.
Thanks
Answers
-
Hi @Ashwin_SG
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
Pros:
- Can filter out duplicate records
Cons:
- 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.
Pros:
- Fast
- Automatically adds an update timestamp
Cons:
- Possibly have duplicated records if ran multiple times before the underlying dataset is updated.
**Was this post helpful? Click Agree or Like below**
**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
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 101 SQL DataFlows
- 622 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 747 Beast Mode
- 59 App Studio
- 41 Variables
- 686 Automate
- 176 Apps
- 453 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 395 Distribute
- 113 Domo Everywhere
- 276 Scheduled Reports
- 6 Software Integrations
- 125 Manage
- 122 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 109 Community Announcements
- 4.8K Archive