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
- Product Ideas
- 2.1K Ideas Exchange
- Data Connections
- 1.3K Connectors
- 309 Workbench
- 17 Cloud Integrations
- Data & ETL
- 2.3K Magic ETL
- 120 SQL DataFlows
- 666 Datasets
- Visualize & Apps
- 90 App Studio
- 198 Pro-code Components
- 2.6K Charting & Analyzer
- 873 Calculations & Variables (Beast Mode)
- AI & Data science
- 23 Domo AI & AI Chat
- 4 Managing AI
- 18 Jupyter Workspaces
- Automate
- 122 Workflows
- Alerts
- Distribute
- 118 Domo Everywhere
- 284 Reporting
- Manage
- 145 Governance & Security
- 489 APIs
- 11 Add-ins & Plugins
- 13 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 118 Community Announcements
- 5K Archive