Conditional file creation in DoMo
HI All,
I am extracting data from one of the source and need to create output file in DoMo. If extracted record count is less than or equal to 1000 records then output file ( filename say xyz.csv) will contain 1000 records . If the extracted record count is greater than 1000 then same output file ( xyz.csv ) will be empty output file ( contain zero records).
Can anybody help me on this?
Comments
-
I'm unclear on what exactly you're doing. Are you using the API to get a csv from Domo of a dataset you have? If so can you share your code of what you're doing? If you're doing something else can you explain the process you're going through?
**Make sure to like any users posts that helped you and accept the ones who solved your issue.**0 -
Hi,
Sorry i was on leave for a week causing delay in responce. Below is the brief desription of problem statement.
1) I am receiveing .csv file locally on daily basis containing some records.
2) I am loading data from this .csv file into respective dataset (say xyz.csv) in DoMo and use it as source.
3) Further i extract this data from (xyz.csv) and checking number of records present in that file (xyz.csv). 4) Now,before carrying further trasformation i need to check # of records present in that file (xyz.csv)
5) if record count is <= 1000 then some trasformation is made and output file is created as abc.csv
6) and if record count is > 1000 then empty abc.csv is created.
7) As specified in point 5 and 6 i need to create ONLY ONE output file abc.dat based on some condition
? How shall i acheive this ( Point 7) in DoMo. Also, please let me know if alternate mathod can be used (if any )
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