Creating a Custom Segment of a Clustered Bar Chart
Hello,
With the recent update which added segments I was wondering if it is now possible to add custom segments of a clustered bar chart. For example, with the chart below I have YoY sales by week, but filtered to only show week 16-28:
I see in the segments tool that it is possible to create segments which ignore filters, would that make it so I can create a custom segment, in this case something along the lines of a "pre week 16" average set of bars to go before WK16?
On a side note, is there any way to remove the spaces between the bars within the same category in the below chart so they look similar to the clustered + symbol chart above without having to use symbols?
Thank you!
Answers
-
handful of questions. why 16 to 28? is that b'c you're specifically interested in that point of time or is the timeframe dependent on today()'s date? (in which case build your filters and axis on a variant of the current_date() function.
if it were me I would build an offset date dimension table so I can use other chart types than just the Period Over Period. https://www.youtube.com/watch?v=CDKNOmKClms&t=142s
if your months are selected based on a lag from today's date, i'd implement that in the offset date dim.
Jae Wilson
Check out my 🎥 Domo Training YouTube Channel 👨💻
**Say "Thanks" by clicking the ❤️ in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0 -
@jaeW_at_Onyx The time frame is defined by a beast mode which filters out any week after 15 and any week prior to the current date.
What I'm looking to do here is essentially what you see in this excel chart below (ignore the # & axis differences, this is separate data):
The reason we want to go this route is the chart doesn't have too many bars that it isn't easily readable.
Is the tutorial you linked capable of producing the end result seen in this excel chart?
0 -
Essentially what I am asking is is there a way to aggregate columns that have the same name and average their values into one column? As you can see above, when I use a beast mode to rename weeks 1-15 as Pre WK16 AVG, instead of aggregating them they are each shown.
0 -
I'm assuming you're using a beast mode for your x-axis - do you have any fields listed in your sorting? That may throw off your grouping. You may want to come up with a similar beast mode to define your sorting such that anything pre week 16 would be a value of 15 so that they'd sort and group based on the same value.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
I decided to make a calculated column in my dataflow and that successfully aggregated the "Pre WK16 AVG" into one column. I hadn't realized that the calculated columns in data flows behave differently that beast mode, this should be useful info moving forward. Thanks for the assistance!
0 -
Glad you got it figured you!
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**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