Text column as values in Pivot table.
I have a column that is based on calculation of ranges and identifies the risk category. I want to set that column as values in my pivot table , however it is not accepting the text column as values. How can I achieve this?
Answers
-
Text as values would make sense if you are doing a count of the text values. Here is an example:
If I solved your problem, please select "yes" above
1 -
I agree with ColemenWilson.
You could also try to
Cast()
the values in a Beastmode to get them to integers/values.Also, could edit it at the ETL level and transform the data column that way.
Should be lots of options - keep us posted on what works.
✅Did this solve your problem? Accept it as a solution!
❤️Did you love this answer? Mark it as "Awesome"!
👍Do you agree with this process? Click "Agree"!
0 -
@ColemenWilson @Data_Devon The reason I want to use text as values is because I have set up a column values as columns in pivot table, and i want to show color risk indicators that are based on the formula to see how they are spread across each row.
0 -
However, it will only let me use the numeric values as values and not the text values.
0 -
The values section is meant for aggregation, because it is possible that when your Rows and Columns intersect that there may be more than one value present.
When you place your text field in the values section you're only provided with Count as the method of aggregation, however, if you create a beast mode with the value MAX(`Your Text Field`) then the pivot table will accept that as a valid method of aggregation and display the max text value.
3 -
I'm not sure I am completely understanding what you are trying to do. Could you create a table in a spreadsheet as an example?
If I solved your problem, please select "yes" above
1 -
This worked, thank you so much! Is there any way to color-code the cells based on the calculation or display the values when hovering over a cell in the Pivot Table? I can now show the text in the cell, but I also want to display the actual value and the range it falls under when hovered over.
0 -
Glad that worked for you! Pivot Tables do not provide a method for adding hover text so I think color coding using color rules may be your best option
0 -
@ggenovese yes, the color rules are limited though.
0 -
I wanted to pivot a column's values as columns and use text values from a Beast Mode calculation in the cells. Since Pivot Tables 'values' require aggregation, I applied MAX to my Beast Mode and it worked for me. Thank you so much for your assistance, and I apologize if my question was not articulated properly.
1 -
@Arthi Annadi - I'm not sure if any table cards provide hover text out of the box. You may want to look into DDX Bricks, or search the app store for custom pivot table apps.
Another option would be to pivot your data in an ETL so that you can use an HTML Card instead of a pivot table but this has limitations as well. In this thread I provide an example of an HTML Card with a growth indicator and hover text.
0 -
If you could simplify your table to two categorical dimensions, a Heatmap card (the one under Popular cards, not the Heatmap Table) can do what you're asking out of the box:
- Pivots data
- Can be easily and flexibly color coded
- Has Hovertext
Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
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
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 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