Dynamic Top N Tooltip Beast Mode
Is there any way to create a tooltip that would allow me to display the the top 3 customers on hover for a given category? For the sake of this discussion, let's just pretend that I have a map of the USA, and I want to be able to hover over a state, and have the tooltip show the unique names of the top 3 customers for that state by Revenue.
I know that I can do this in an ETL, but I want to do it in a beast mode so that any page filters applied will impact the top 3 shown. For example, if a particular product class is shown, the outcome should update to show the top 3 for a given state for the selected product class.
David Cunningham
** Was this post helpful? Click Agree π, Like ποΈ, or Awesome β€οΈ below **
** Did this solve your problem? Accept it as a solution! βοΈ**
Answers
-
Hi @david_cunningham ,
This is likely possible with some type of tool tip use and a windows function, let me test out a few examples and if i can get one working ill post the results here.
0 -
Would love to collaborate on this with you @david_cunningham . I can get the rank of each customer by state in the beastmode, but I am having trouble with displaying them as a hover text. You'd need to use something like a group_concat() which I can't get working in a beastmode.
If I solved your problem, please select "yes" above
0 -
@ColemenWilson yeah, that's about as far as I got as well. Would love to connect and figure this out together. Curious to hear from Domo peeps what they think is possible on this front
David Cunningham
** Was this post helpful? Click Agree π, Like ποΈ, or Awesome β€οΈ below **
** Did this solve your problem? Accept it as a solution! βοΈ**0 -
I don't think you can concatenate strings across rows using BeastModes, which seems to be the fundamental challenge here. I'm mostly commenting in case I'm wrong and someone posts a way to do that.
Depending how many different types of filters you have and how many different product categories, you might be able to create every possible iteration of top three customers for each potential filter in an ETL and do it that way. You'd end up with a lot of redundant data, so you'd have to use FIXED functions on the card. I don't recommend this, but I think it would be theoretically possible.
I'm assuming you know this, and it's not what you're asking for, but it would be a lot easier to have a separate table card that you could cross filter with the map: click on a state and see the top three customers from that state (plus any other filters you've added).
Please π‘/π/π/π this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
1 -
@DavidChurchman - yes, the table card approach is usually what I have done in the past. I was mostly just curious and posting due to yesterday's Frenzy day. I was hoping that someone at Domo would know of a way to achieve this. I think that tooltips are somewhat of an under-developed / under-utilized feature, and thus have been looking for ways to use them more effectively.
David Cunningham
** Was this post helpful? Click Agree π, Like ποΈ, or Awesome β€οΈ below **
** Did this solve your problem? Accept it as a 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.8K Visualize
- 2.5K Charting
- 731 Beast Mode
- 55 App Studio
- 40 Variables
- 682 Automate
- 175 Apps
- 451 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
- 122 Manage
- 119 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 107 Community Announcements
- 4.8K Archive