Hover Text Settings: %_of_Category not working correctly
I have a card where it is the last 14 months, graphed by month, and the X axis is the date. The Y Axis is the count of deferral codes, and the series is deferral code descriptions.
For the Data Label Settings, I have entered %_of_category, and it works just fine. The problem was that some of the series are so small that the data label doesn't show for them.
So, I added Hover Text as well, the same %_of_category, and noticed that this also lets me hover over the legend to get the %'s of the very small series. But for some reason, the percentages that are showing for hover text are not at all accurate. Instead of giving me the percent of the category, it is just taking the total for each month (count of deferral codes) and adding a % sign. So for example, September had a total of 7005 deferral codes, and the hover text just says 7005%. I don't understand why it works correctly for data label setting, but I'm having this problem with hover text settings.
Am I understanding "%_of_catgeory" correctly, where in this case the category would be each month since that is the X axis and it is graphed by month? I would think I am because the data label gave me the correct numbers I was seeking.
Comments
-
Can you copy the exact macro text out of the data label and hover text settings?
"%_of_category" isn't an actual macro, so you would actually see that exact string come out on the chart. However, "%_PERCENT_OF_CATEGORY" is a valid macro. See the difference below:
Aaron
MajorDomo @ Merit Medical
**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"1 -
I took another look to make sure I had a valid macro in use for my hover text setting. While doing thing, I think I figured out what I had wrong. Under "hover text settings," I had "Hover Format" set to "Percentage." I was thinking that hovering over the series in the legend would work the same as hovering over the graph with percent of category, but I think hovering over the legend just shows the count value of the graph. So having the hover format set to percentage was just adding a percent sign to the count when I would hover over the legend.
1
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive