Using BeastMode Calculate the 80/20 by Category
Out of all the domains, which 20% of all domains account for 80% of the Users?
There should be more than one domain I think that account for that 80/20.
In addition, how can I measure that distribution difference?
I'm trying to this strictly in DOMO, but since I'm new, the struggle is real.
Best Answer

if i understand your question, to break it into pieces you should start with:
"what percentage of the users does each domain account for" so you need a percent of total calculation.
then you want to order your domains by percent of total ascending
then you want to keep all domains where the cumulative sum of 'percent of total' is <= .8
i think you can accomplish this with a dataset view or by preaggregating your data in Magic ETL 2.0
what happens if you have
Domain A = 75% of users
Domain B = 20% of users
Domain C = 5% percent of users.
What is your answer for 'which domains account for 80% of the users?'
If your answer is A + C the logic becomes much more complicated, b/c effectively you're trying to find the combination of values that gets the closest to .8% which is a logic problem that would be much harder to encapsulate than the easy answer just "A." or maybe "A + B"
Jae Wilson
Check out my 🎥 Domo Training YouTube Channel 👨💻
**Say "Thanks" by clicking the ❤️ in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"1
Answers

if i understand your question, to break it into pieces you should start with:
"what percentage of the users does each domain account for" so you need a percent of total calculation.
then you want to order your domains by percent of total ascending
then you want to keep all domains where the cumulative sum of 'percent of total' is <= .8
i think you can accomplish this with a dataset view or by preaggregating your data in Magic ETL 2.0
what happens if you have
Domain A = 75% of users
Domain B = 20% of users
Domain C = 5% percent of users.
What is your answer for 'which domains account for 80% of the users?'
If your answer is A + C the logic becomes much more complicated, b/c effectively you're trying to find the combination of values that gets the closest to .8% which is a logic problem that would be much harder to encapsulate than the easy answer just "A." or maybe "A + B"
Jae Wilson
Check out my 🎥 Domo Training YouTube Channel 👨💻
**Say "Thanks" by clicking the ❤️ in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"1 
Oh the way you worded this is so much easier to comprehend.
I was definitely looking at this in a more complicated mindset.
Thanks so much!
0
Categories
 All Categories
 1.7K Product Ideas
 1.7K Ideas Exchange
 1.5K Connect
 1.2K Connectors
 292 Workbench
 4 Cloud Amplifier
 8 Federated
 2.8K Transform
 95 SQL DataFlows
 602 Datasets
 2.1K Magic ETL
 3.7K Visualize
 2.4K Charting
 691 Beast Mode
 43 App Studio
 39 Variables
 658 Automate
 170 Apps
 441 APIs & Domo Developer
 42 Workflows
 5 DomoAI
 32 Predict
 12 Jupyter Workspaces
 20 R & Python Tiles
 386 Distribute
 111 Domo Everywhere
 269 Scheduled Reports
 6 Software Integrations
 112 Manage
 109 Governance & Security
 8 Domo University
 30 Product Releases
 Community Forums
 39 Getting Started
 29 Community Member Introductions
 98 Community Announcements
 Domo Community Gallery
 4.8K Archive