Is there any way to find how many times a dataset/dataflow has failed?
Hello everyone,
I am building a table view card that shows the owner name, dataset/dataflow name, no of times it has failed, and timestamp when it has failed.
I got the first two columns but how do I find the other two columns: Number of failures and Timestamp?
Thanks
Comments
-
Hi @ankt84
You can find this information using the DomoStats connector and pulling the DataFlow History report. It'll list all the executions for all your data flows so it'll show if it failed and when it failed.
https://domohelp.domo.com/hc/en-us/articles/360043433813-DomoStats-Connector#4.6. has more information on this specific connector and report.
There's also a report for DataSet History as well with that connector.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
Thanks @GrantSmith
Let me have a look.
0 -
Use an ETL to group it based on the ID and the status and then count the IDs. This will break down your dataset based on the statuses and give you a count. You can filter out then for specific codes
Alternatively if you're using a beast mode you could do a conditional sum:
SUM(CASE WHEN `Status` = 'Failed' THEN 1 ELSE 0 END)
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
That is working fine in case Dataflow but How do I do that in the case of Dataset?
The available status codes in Dataset History are Active, Error, Invalid, Success, and Unknown. How should I define a failed dataset?
Thanks
0 -
It depends on how your company wants to define success but I'd recommend 'Invalid' and 'Success'
SUM(CASE WHEN `Status` IN ('Error', 'Invalid') THEN 1 ELSE 0 END)
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
Is there any way to query the "Result" details of a failed dataset so you can see why there was an error running?
0
Categories
- All Categories
- 1.9K Product Ideas
- 1.9K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 302 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 104 SQL DataFlows
- 637 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 761 Beast Mode
- 65 App Studio
- 42 Variables
- 703 Automate
- 182 Apps
- 458 APIs & Domo Developer
- 53 Workflows
- 10 DomoAI
- 39 Predict
- 16 Jupyter Workspaces
- 23 R & Python Tiles
- 401 Distribute
- 116 Domo Everywhere
- 277 Scheduled Reports
- 8 Software Integrations
- 132 Manage
- 129 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 111 Community Announcements
- 4.8K Archive