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
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive