Assistance With Creating a Bar Line Graph
Hello, I am trying to figure out how to create a line graph / bar line that will give me the variance change year over year based number of claims per year.
I am not sure if there is an easy way/setting in Domo to automatically create a percent change YoY for me, or if I need a beast mode to do this.
I have tried the following formula and put it in my Y-Axis, but it didn't seem to work.
(Case when Year(`Open Date`) = Year(curdate()) then `Claim Type` end / Case when Year(`Open Date`) = Year(curdate())-1 then `Claim Type`end) -1
Data:
I have an Open Date column and I am basically just counting the number of claim types each year. I am hopefully trying to get for example:
% Change from 2008->2009 from 665->818 ~ 23% increase..
2009->2010 ~ 818->511 ~ 37% decrease
Answers
-
Hi @SLam
I'd recommend reformatting your data with a date offset dimension dataset and using a beast mode to calculate the different between last year and this year. I've written about this before here: https://dojo.domo.com/main/discussion/53481/a-more-flexible-way-to-do-period-over-period-comparisons#latest
You can then use a Line + Bar chart to define the YoY % values.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
Hello @GrantSmith , thank you for the information.
Am I able to skip to the section below:
Or will I need to complete the above steps in order to complete the steps in the screenshot? I do not have access to MagicETL and MySQL to do these steps.
0
Categories
- All Categories
- 1.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 294 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 97 SQL DataFlows
- 607 Datasets
- 2.1K Magic ETL
- 3.8K Visualize
- 2.4K Charting
- 707 Beast Mode
- 49 App Studio
- 39 Variables
- 667 Automate
- 170 Apps
- 446 APIs & Domo Developer
- 44 Workflows
- 7 DomoAI
- 33 Predict
- 13 Jupyter Workspaces
- 20 R & Python Tiles
- 391 Distribute
- 111 Domo Everywhere
- 274 Scheduled Reports
- 6 Software Integrations
- 115 Manage
- 112 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