Updating dataflow without updating datasource
Hi there!
I have troubles with DOMO and can´t figure it out without adding (hopefully) unnecessary data.
We run a daily update on costs on an external service via Excel upload.
In dataflow I join daily costs from the previous year.
We don´t have costs on every day, but we still need to run it, so costs from last year are included.
I use a schedule in dataflow, so data will be still updated without updating the datasource.
to clarify:
As you can see we don´t have costs for December 18, 2018, but we do have costs for December 19, 2017, so this row must be included in the output.
Within dataflow I can see the correct figures, but in the output I get the following result:
On the 6th of december I updated the datasource the last time. But I set the update trigger to schedule so the data shouldn´t stop at the 6th.
Could someone explain me if I need to change some settings or something in DOMO?
Many thanks
Comments
-
Hi, @Nikse,
I'm happy to help, but I don't think I fully understand your question. Let me summarize what I understand (also one question), and then please correct me.
- You have a sparse cost per day dataset, meaning a record only exists for a particular date if a cost was incurred on that date
- Since costs are not incurred every day, the dataset may not update every day
- You want to compare cost per day of the current year with the equivalent day of last year
- If there was no cost on a day this year but there was a cost on the equivalent day last year, the output should include a record for the day this year with a cost value of 0 with the equivalent day last year with its cost value
- And vice versa in the case where this is a cost on a day this year but not last year
- Seems that you have accomplished all this expected behavior
- Do you have some logic in place in the dataflow to only output records where date of the current year is less than the current date?
- If yes, you might consider applying this filter in the visualization layer (in the card; perhaps using a Beast Mode calculation) rather than in the dataflow. This way, you can set your process to run only when the source dataset is updated. That's because, when you run the dataflow on Dec 6, 2018, it will include records into the future for dates that have costs on equivalent dates last year.
I wonder if the output dataset hasn't updated since 12/6 because there hasn't been an update to the source dataset since then. You should be able to tell what is happening with the dataflow by clicking into the dataflow details and then looking at the "History" tab. If you mouse over the "..." button, it should give you some detail about the result of the dataset run. Additionally, you can click on any records of a dataflow run to see yet more details.
I hope this is helpful - but I might have missed the point entirely!
Best,
Dan
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive