Beast mode - no aggregation

Hi Everyone,
I created a pivot table that will show the cost of dispatches. Please see below:
one of the values that we are using is called Number of Ports ( blue Value that says COUNT of Nu. ) and for some reason the number does not populate any data even though on our tickets it shows a number. And maybe because that's why, it is set as a dimension instead of a measure. The drop down only provides COUNT, and we need to set it as NO Aggregation.
Is there a way to create a beast mode calculation to show a no aggregate for Number of ports so that it shows data ( numerical value)?
Any assistance is greatly appreciated. Thank you
Best Answer
-
Yes
Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
1
Answers
-
Since you're using the pivot table, it needs some way to aggregate the value. Since it's a text column, the only default is a count.
Pivot Tables can be a little particular, and sometimes will fight you on having text display. The most reliable ones I've found are something like:
CASE WHEN COUNT(`Nu`) > 10 then 'No' else 'Yes' end
Where it's not really pulling the text out of the data but is creating a text label based on an aggregation.
But depending on your data, one of these might work:
CONCAT(`Nu.`)
CASE WHEN
Nu
<> '' thenNu
ENDPlease 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
1 -
@DavidChurchman Thank you very much for the information in regards to what Pivot Tables and the beast mode formula.
For the 'Nu' is this where I would place the dimension?
0 -
Yes
Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
1 -
@DavidChurchman Thank you for the assist! This has been really helpful and pointed me in the right way to get this resolved.
0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 663 Datasets
- 119 SQL DataFlows
- 2.3K Magic ETL
- 823 Beast Mode
- Visualize
- 2.6K Charting
- 86 App Studio
- 46 Variables
- Automate
- 194 Apps
- 483 APIs & Domo Developer
- 87 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 117 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 143 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive