Drill-down / Card / Switch labels to something else?
My question concerns drill-path view and how I should set it up.
Everything went well when I created my 1st card where I chose TIMEGROUP as a X-axis, avg(VALUE) as Y-axis, and again TIMEGROUP as Series. In the bar chart, I get my 3 TIMEGROUPs in 3 different columns with VALUEs aggregated between them.
Now, I need to create a drill down view to TIMEGROUP-level data, e.g. if I click on TimeGroup1, I'll get another bar chart showing all values on Y chart (not aggregated), sorted by DATE.
What exactly should I put on X-axis?
If I put DATE there, my graph becomes rather odd-looking with very thin bars (line-like) that are too far from each other and it shows the whole range of dates.
If I put NAME there, I lose the ability to differentiate bars by date and preferably time (since some of the dates can contain 2 values)..
Is it possible to set NAME as X-axis, but display X-axis labels in the form of DATE&TIME? How would I do that?
Or for example, is there any way to play around with DATEs so that the graph doesn't show the whole range between my actual dates?
So, here is the data I have:
TIMEGROUP | NAME | TIME | DATE | VALUE |
TimeGroup1 | SameName | 10:00P -10:30P | 2/18/2017 | 2 |
TimeGroup1 | SameName | 10:30P -11:00P | 2/20/2017 | 4 |
TimeGroup2 | SameName | 08:00P -09:00P | 2/27/2017 | 6 |
TimeGroup2 | SameName | 09:00P -10:00P | 2/30/2017 | 8 |
TimeGroup2 | SameName | 10:00P -10:30P | 3/22/2017 | 10 |
TimeGroup3 | SameName | 08:00P -09:00P | 3/25/2017 | 12 |
TimeGroup3 | SameName | 10:00P -11:00P | 3/25/2017 | 14 |
TimeGroup3 | SameName | 11:00P -12:00A | 2/24/2017 | 16 |
Best Answer
-
Any time you put a date datatype on the x-axis Domo is going to assume you're implying a calendar view, so if the date grain is daily, you'll see a year, quarter, month, or week's worth of daily data.
So on the X-axis you'll need to put a category down that's not a date datatype.
You could use the NAME on the X-Axis and use another columns as the series. You could create a Beast Mode to put a label together that you like more than what's individually available to you.
Like a concatenation of date and time: CONCAT(`DATE`,' ',`TIME`) = 2/18/2017 10:00P -10:30P
On your top level card, if you drilled to TimeGroup1 and your drill path was a bar chart with NAME as the X-Axis and the above Beast mode as the series, you'd have one item on the X-Axis but two bars of two colors and two labels because of the two series values resulting from your concatenating Beast Mode.
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
Answers
-
Any time you put a date datatype on the x-axis Domo is going to assume you're implying a calendar view, so if the date grain is daily, you'll see a year, quarter, month, or week's worth of daily data.
So on the X-axis you'll need to put a category down that's not a date datatype.
You could use the NAME on the X-Axis and use another columns as the series. You could create a Beast Mode to put a label together that you like more than what's individually available to you.
Like a concatenation of date and time: CONCAT(`DATE`,' ',`TIME`) = 2/18/2017 10:00P -10:30P
On your top level card, if you drilled to TimeGroup1 and your drill path was a bar chart with NAME as the X-Axis and the above Beast mode as the series, you'd have one item on the X-Axis but two bars of two colors and two labels because of the two series values resulting from your concatenating Beast Mode.
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 -
Creating a new Beast Mode with concat() worked, thank you!
0
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