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.5K Connect
- 1.2K Connectors
- 297 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 614 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 729 Beast Mode
- 53 App Studio
- 40 Variables
- 677 Automate
- 173 Apps
- 451 APIs & Domo Developer
- 45 Workflows
- 8 DomoAI
- 34 Predict
- 14 Jupyter Workspaces
- 20 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 121 Manage
- 118 Governance & Security
- Domo Community Gallery
- 32 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive