Percentage Increase/Decrease Between Bars
Example:
Simple bar chart sorted by Month (Jan/Feb/Mar) with 2 series (Male/Female). Is there a way to use the Hover Text feature to show the increase or decrease month over month?
So I hover over the month of March and im in the male series. It will show me that it increase/decrease by X% from Feb. If i'm in Feb itll show me the increase/decrease from Jan?
Thoughts? Possible?
Comments
-
0
-
@michaelscott Hey, I know the hover text settings aren't able to do calculations themselves, they will only take the calculations that are rendered somewhere in the card. You could build a percent change beast mode between your two series and add that data to your card, and then you could display it in the hover text settings. Try inserting this code into the 'Hover Text Settings' tab under chart properties:
%_CATEGORY_NAME \\n %_VALUE %_SERIES_NAME
- You may have tinker with it a bit but this should get you there. Let me know if it doesn't work, I'll give you another option try.
I work for Domo.
**Say "Thanks" by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as "Accepted Solution"1 -
@tbrock does that data have to be one of the values used to set up the card in order for the Macro to pick it up?
This sounds like a great case study for some screen shots and calculation samples. I have often wanted the hover to show a correlated metric that may not be used to actually power the card.
Broadway + Data1 -
The data does have to be represented somewhere in the card for the hover text to pick that data up. I know on some chart types there is a macro that shows percent of total. You will have to click on the hover text settings to get the available list for that chart type though.
I agree with you. That would be super cool if we could have hover text show other calculations that were not displayed in the card.
I work for Domo.
**Say "Thanks" by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as "Accepted Solution"1 -
If you wrote that percent change beast mode, can you share it? I'm working on writing (A-B)/B but am not quite getting it right.
Broadway + Data0 -
Nevermind, found a solution here: http://dojo.domo.com/t5/Beast-Mode/YoY-MoM-QoQ-calculations-for-YouTube-Video-Views/m-p/2747/highlight/true#M137
Broadway + Data1 -
@michaelscott, did any of the above replies help resolve your issue?
0 -
Not really - but i really appreciate the replies and effort though.
0 -
I reviewed this and I think I have a solution/work around for you. First off, the main issue is with the data structure. The data structure doesn't allow the calculation to be completed using beast mode. The way that I resolve this is to union the data to itself and advance the month of the second data set by one month. I then add a column that says if the data set is "Current" or "Previous" data which is adjusted one month.
See sample screenshot below "POP - Sample Data.png"
Once the data is prepped this way, you can set up a few beast modes in the card and get the POP number that you are looking for.
See sample screenshots below:
- POP - Male POP Beast Mode.png
- POP - Female POP Beast Mode.png
- POP - Male Amount.png
- POP - Femail Amount.png
- POP - Card Editor.png
- POP - Line Settings.png
Hopefully, this gets you closer to what you are trying to do. It should get you closer to the end goal here.
**Say “Thanks" by clicking the thumbs up 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.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.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 56 App Studio
- 40 Variables
- 684 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 36 Predict
- 15 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