Vertical Faceted chart not sorting correctly
I'd like to create a faceted chart that shows revenue for a subset of products, comparing multiple months against each other. This would give me a visual representation of changes month over month for my top products, and would promote further investigation if a product's performance one month was significantly different than previous months. It might tell me that a product is/was out of stock, or a variety of other possibilities that I could then address.
I'd like to sort the series in reverse chronological order top to bottom by month-year. So the current month would be on top, followed by the previous month, and so on. Why isn't my chart sorting correctly? Notice how the previous two months are out of order?
Best Answer
-
It looks like you are limiting the data to 150 rows. When you move the
Year | Month
to your first sort, then it moves the most recent month to the top of the data, and you only get the most recent month. You should remove that limit to see all months.If you're limiting to 150 rows in order to get a more limited number of products, you should create a formula that ranks products based on the relevant metric, and then filter on that formula. Or, you could add a filter card that allows users to filter by the
SUM of Net…
value you have in your X axis now, so they can tune the appropriate range to look at products of interest.Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
1
Answers
-
You're sorting by the SUM first and then sorting by the year. Move the Year to be the first thing you sort on.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
@GrantSmith When I change the sort order, it eliminates the other months for some reason.
0 -
@GrantSmith By the way, I changed it from Vertical to Horizontal. Not sure if that makes an impact.
0 -
@GrantSmith What's also interesting, is that it looks right in this image. But when I filter, it changes the month order. So it must be something to do with the Revenue sort, but I'm not sure how the chart works.
0 -
It looks like you are limiting the data to 150 rows. When you move the
Year | Month
to your first sort, then it moves the most recent month to the top of the data, and you only get the most recent month. You should remove that limit to see all months.If you're limiting to 150 rows in order to get a more limited number of products, you should create a formula that ranks products based on the relevant metric, and then filter on that formula. Or, you could add a filter card that allows users to filter by the
SUM of Net…
value you have in your X axis now, so they can tune the appropriate range to look at products of interest.Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
1 -
Thanks @DavidChurchman, that worked! Now I just need to figure out the filtering mechanism.
1
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
- 755 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 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