Calculating max of a category using FIXED

If I have the first three columns of the data(model, variant names and total clicks) is it possible to generate a calculated field which shows the highest click value in a given Model?
For example, Model A has 3 variants and the highest amount of clicks among the 3 variants is 33, so the 'Max clicks' column should be populated with 33.
The understanding data is at a url level so the total clicks is a calculated field with the formula count(`url`). My end goal by doing this is to highlight the row of the variant with the highest clicks
Model | variant names | Total Clicks | Max clicks |
---|---|---|---|
A | Variant-1 | 33 | 33 |
A | Variant-2 | 16 | 33 |
A | Variant-3 | 31 | 33 |
B | Variant-1 | 19 | 23 |
B | Variant-2 | 23 | 23 |
B | Variant-3 | 11 | 23 |
Best Answer
-
MAX(
Total Clicks
) OVER( PARTITION BYModel
)Then create a filter to leave only max rows:
If I solved your problem, please select "yes" above
0
Answers
-
MAX(
Total Clicks
) OVER( PARTITION BYModel
)Then create a filter to leave only max rows:
If I solved your problem, please select "yes" above
0 -
Apologies not adding this in the question, but I don't think I have window functions enabled in our Domo instance
0 -
I don't believe you need them enabled, do you mean Nested Beast Modes? For those you can reach out to your CSM to have them enabled.
If I solved your problem, please select "yes" above
0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 308 Workbench
- 7 Cloud Amplifier
- 10 Federated
- 3.8K Transform
- 660 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 818 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 84 App Studio
- 46 Variables
- 781 Automate
- 191 Apps
- 483 APIs & Domo Developer
- 84 Workflows
- 23 Code Engine
- 43 AI and Machine Learning
- 22 AI Chat
- 3 AI Projects and Models
- 18 Jupyter Workspaces
- 408 Distribute
- 116 Domo Everywhere
- 281 Scheduled Reports
- 11 Software Integrations
- 146 Manage
- 142 Governance & Security
- 8 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 4.8K Archive