Year Over Year cards Leap year issue
YoY cards cards where Year to date is the range set for the card do not calculate prior year totals and hence yoy changes correctly until the month is complete. Since a year is assumed as 365 days for YOY cards, the leap year throws off the comparison to prior years until the month is complete. We are relying on mid month stats very heavily, so having correct comparative numbers is crucial. A fix for Leap years needs to be developed to overcome this issue. Please up vote this.
Comments
-
@SEC this is a tough one b/c domo can't just build a solution for EVERY customer and every customer probably treats YOY comparisons differently. AND even if domo did build it for YOU , if your CFO ever changed the approach now it's the same for everyone.
if it were me i would build a dataset that actually calculates for x date what do i consider "current year and previous year" (one row for each date in current year and one row for each date in previous year) and then just JOIN that onto my transactional data.it does create a bit of bloat and overhead, but it guarantees that you can use that structure in literally any card (not just Period over period) and you have control and can test (and can show your finance director EXACTLY what the terms of your report are)
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 -
So the exact issue is that, for today for example, the current year shows data from 4/1/2024 to 4/24/24 and it compares it to 4/1/2023 to 4/25/2023, so it's adding an extra day to the range for the comparative prior period. I would think that in most cases, that users would want to compare the same date ranges year over year.
0
Categories
- All Categories
- 1.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 295 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 97 SQL DataFlows
- 608 Datasets
- 2.1K Magic ETL
- 3.8K Visualize
- 2.4K Charting
- 710 Beast Mode
- 50 App Studio
- 39 Variables
- 668 Automate
- 170 Apps
- 446 APIs & Domo Developer
- 45 Workflows
- 7 DomoAI
- 33 Predict
- 13 Jupyter Workspaces
- 20 R & Python Tiles
- 391 Distribute
- 111 Domo Everywhere
- 274 Scheduled Reports
- 6 Software Integrations
- 116 Manage
- 113 Governance & Security
- Domo Community Gallery
- 31 Product Releases
- 9 Domo University
- 5.3K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 103 Community Announcements
- 4.8K Archive