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
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 308 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 662 Datasets
- 118 SQL DataFlows
- 2.2K Magic ETL
- 821 Beast Mode
- Visualize
- 2.6K Charting
- 85 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 85 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 116 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 142 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 5K Archive