Application upgrade tracking
I am tracking an application update on devices. I have a dataset that looks something like this. I would like to:
1. Count # of devices that upgraded to the latest app (Column App1). Ex. is 1002 and 1004 that has 2 versions, I only need the latest which is in column App1.
2. Count # of devices with app1 and app2
3. Count devices # of devices with various app2 versions
4. Ability to track these changes by weekly. I currently do not have a date column.
Serial Number | App 1 | App 2 |
---|---|---|
1000 | 2.8 | |
1001 | 2.8 | |
1002 | 3 | 2.6 |
1003 | 2.7 | |
1004 | 3 | 2.6 |
1005 | 2.7 | |
Thank you in advance.
Best Answer
-
In order to track the weekly stats you'd need to either use a dataflow to add in the timestamp and schedule it to run once a week and have it append on the output or alternatively use a dataset copy connector and set it to append to automatically copy the original dataset with the _BATCH_LAST_RUN_ timestamp field.
As for your other questions:
1 - How are you determining if they're on the latest app? Is that if App 1 is populated? IF that's the case you can just get a Count of App 1 to count how many serial numbers have it installed. This is assuming you have one record per serial number. If not you'd need to do a distinct count in a beast mode:
COUNT(DISTINCT CASE WHEN `` IS NOT NULL THEN `Serial Number` END)
2- You can use a conditional SUM within a beast mode:
SUM(CASE WHEN `App 1` IS NOT NULL and `App 2` IS NOT NULL THEN ` ELSE 0 END)
3 - Are you wanting to know which devices have multiple versions of App 2 installed or how many different App 2 version are installed across all versions?
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0
Answers
-
In order to track the weekly stats you'd need to either use a dataflow to add in the timestamp and schedule it to run once a week and have it append on the output or alternatively use a dataset copy connector and set it to append to automatically copy the original dataset with the _BATCH_LAST_RUN_ timestamp field.
As for your other questions:
1 - How are you determining if they're on the latest app? Is that if App 1 is populated? IF that's the case you can just get a Count of App 1 to count how many serial numbers have it installed. This is assuming you have one record per serial number. If not you'd need to do a distinct count in a beast mode:
COUNT(DISTINCT CASE WHEN `` IS NOT NULL THEN `Serial Number` END)
2- You can use a conditional SUM within a beast mode:
SUM(CASE WHEN `App 1` IS NOT NULL and `App 2` IS NOT NULL THEN ` ELSE 0 END)
3 - Are you wanting to know which devices have multiple versions of App 2 installed or how many different App 2 version are installed across all versions?
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
Thank you for your response. I will add a timestamp to my dataflow. I wanted to get a count of how many devices have 2 verions of the app. And how many just have one or the other version.
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