Sorting on both Columns and Rows when using pivot tables
Hello,
I'm encountering an issue when trying to sort on both columns and rows in a pivot table.
I want my columns to be sorted in date order, left to right - oldest to newest.
I want my rows to be sorted in alphabetical order, top to bottom - A to Z.
It seems to only apply the first sort in the list and ignore the other.
Is there something I am missing, or some kind of workaround I can use?
Thanks.
Best Answer
-
It's how sorting works. The way to get around it is to make sure you have a record for every date and text combination in your dataset.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0
Answers
-
Hi @user12621
I believe what's going on is because you're missing data within some of your pivot table those values aren't included in the initial sort based on the date.
For example:
1/1 A 50
1/2 A 100
1/2 Z 25
You're sorting on the date first so you'd have 1/1 come before 1/2. Since Z doesn't exist for 1/2 it pulls A first then would pull Z.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
In my data there is not an instance of every text value on every date. I expect some text/date combos of the pivot table to equal 0.
Is this just something I have to live with then? Is there no way around this? Do zeroes break domo sorting?
0 -
It's how sorting works. The way to get around it is to make sure you have a record for every date and text combination in your dataset.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 659 Datasets
- 116 SQL DataFlows
- 2.2K Magic ETL
- 815 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 82 App Studio
- 45 Variables
- 775 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 81 Workflows
- 23 Code Engine
- 40 AI and Machine Learning
- 20 AI Chat
- 1 AI Playground
- 1 AI Projects and Models
- 18 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 144 Manage
- 140 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive