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
-
Creating a new Beast Mode with concat() worked, thank you!
0
Categories
- 7.3K All Categories
- 13 Getting Started in the Community
- 134 Beastmode & Analytics
- 1.8K Data Platform & Data Science
- 52 Domo Everywhere
- 2K Charting
- 994 Ideas Exchange
- 894 Connectors
- 236 Workbench
- 342 APIs
- 76 Apps
- 18 Governance & Productivity
- 233 Use Cases & Best Practices
- 49 News
- 473 Onboarding
- 570 日本支部