How to create a gauge chart to compare yoy or wow or mom ?
Comments
-
Hi @gav,
Domo has built in YoY functionality, you will see Period over Period chart types in the Analyzer. I will assume you have tried that, and it hasn't quite accomplished what you need (I have had the same experience, completely understand).
My recommendation would then be the following Beastmode approach (ultimately you can use it in whatever type of visual you like, but maybe easiest to first put it in a simple table card to validate):
Column 1 - Prior Year Beastmode
SUM(CASE WHEN YEAR (*Your Date Column*) = 2017 THEN *Your Value Column* ELSE 0 END)
Column 2 - Current Year Beastmode
SUM(CASE WHEN YEAR (*Your Date Column*) = 2018 THEN *Your Value Column* ELSE 0 END)
Column 3 - YoY Change Beastmode
(SUM(CASE WHEN YEAR (*Your Date Column*) = 2018 THEN *Your Value Column* ELSE 0 END)
-
SUM(CASE WHEN YEAR (*Your Date Column*) = 2017 THEN *Your Value Column* ELSE 0 END))
/
SUM(CASE WHEN YEAR (*Your Date Column*) = 2017 THEN *Your Value Column* ELSE 0 END)
Domo Consultant
**Say "Thanks" by clicking the "heart" 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.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 292 Workbench
- 4 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 95 SQL DataFlows
- 605 Datasets
- 2.1K Magic ETL
- 3.7K Visualize
- 2.4K Charting
- 696 Beast Mode
- 43 App Studio
- 39 Variables
- 660 Automate
- 170 Apps
- 442 APIs & Domo Developer
- 42 Workflows
- 6 DomoAI
- 33 Predict
- 13 Jupyter Workspaces
- 20 R & Python Tiles
- 388 Distribute
- 111 Domo Everywhere
- 271 Scheduled Reports
- 6 Software Integrations
- 113 Manage
- 110 Governance & Security
- 9 Domo University
- 31 Product Releases
- Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 98 Community Announcements
- Domo Community Gallery
- 4.8K Archive