Period over Period Comparison of Two Date Columns
I am using a Period over Period card that's fairly simple.
Gauge Value - Count of Windows OS machines from the asset software (KACE specifically)
Time Period - MAX LastSyncDatePatch (most recent sync date in that column)
My card date Date Range is Month to Date and what I need to compare to is a column called PreviousMonthLastSyncPatch and contains the dates of previous month when synced.
The goal is to count the Windows machines that have synced this month and provide the change from previous month's count of Windows machines that synced.
As always, appreciate the responses in advance!
Michael
Answers
-
I'm not sure I understand your dataset schema. Since this could impact any potential solution, would you mind providing some more details? I think it would help to have a sample of your dataset.
1 -
Will this work?
0 -
The period over period chart expects a single date column, so you are going to want to restructure your data, or look at a different chart. If you restructured your data like this:
Machine Name DateLastSync
PC1 7/1/2021
PC1 6/1/2021
PC2 6/1/2021
The period over period chart could work for you.
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0 -
I don't think Period over Period is the right chart type for you.
it sounds like you want to know "how many machines syncced last month"
and "how many machines synced this month"
I don't think you can accurately answer both of those questions with the data provided. // EDIT: I would not structure my data this way.
If it were me I would take a snapshot of a dataset with columns, "snapshot date", "machine name", "last sync" at the end of each month. (just use a recursive dataflow that runs monthly).
Then run a beast mode
-- count syncced current month sum(case when snapshot_date = <this month> and last_sync = <occurred this month> then 1 end) -- count syncced last month sum( case when snapshot_date = <last month> and last_sync = <occured last month> then 1 end)
you can perform math over these two metrics. like variance or percent change etc.
Jae Wilson
Check out my 🎥 Domo Training YouTube Channel 👨💻
**Say "Thanks" by clicking the ❤️ in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"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