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.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 738 Beast Mode
- 56 App Studio
- 40 Variables
- 684 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 35 Predict
- 14 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 123 Manage
- 120 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive