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
Categories
- 7.6K All Categories
- Connect
- 913 Connectors
- 241 Workbench
- 470 Transform
- 1.8K Magic ETL
- 60 SQL DataFlows
- 445 Datasets
- 24 Visualize
- 194 Beast Mode
- 2K Charting
- 6 Variables
- 1 Automate
- 348 APIs & Domo Developer
- 82 Apps
- Workflows
- 14 Predict
- 3 Jupyter Workspaces
- 11 R & Python Tiles
- 241 Distribute
- 59 Domo Everywhere
- 241 Scheduled Reports
- 14 Manage
- 35 Governance & Security
- 18 Product Ideas
- 1.1K Ideas Exchange
- Community Forums
- 15 Getting Started
- 1 Community Member Introductions
- 49 Community News
- 18 Event Recordings
- 579 日本支部