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.9K Product Ideas
- 1.9K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 303 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3K Transform
- 104 SQL DataFlows
- 640 Datasets
- 2.2K Magic ETL
- 4K Visualize
- 2.5K Charting
- 769 Beast Mode
- 72 App Studio
- 43 Variables
- 718 Automate
- 185 Apps
- 462 APIs & Domo Developer
- 57 Workflows
- 14 DomoAI
- 40 Predict
- 17 Jupyter Workspaces
- 23 R & Python Tiles
- 402 Distribute
- 116 Domo Everywhere
- 277 Scheduled Reports
- 9 Software Integrations
- 135 Manage
- 132 Governance & Security
- 8 Domo Community Gallery
- 44 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 111 Community Announcements
- 4.8K Archive