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.2K Product Ideas
 1.2K Ideas Exchange
 1.4K Connect
 1.1K Connectors
 273 Workbench
 2 Cloud Amplifier
 3 Federated
 2.7K Transform
 78 SQL DataFlows
 526 Datasets
 2.1K Magic ETL
 3K Visualize
 2.2K Charting
 441 Beast Mode
 23 Variables
 514 Automate
 115 Apps
 391 APIs & Domo Developer
 8 Workflows
 26 Predict
 10 Jupyter Workspaces
 16 R & Python Tiles
 332 Distribute
 77 Domo Everywhere
 255 Scheduled Reports
 67 Manage
 67 Governance & Security
 1 Product Release Questions
 Community Forums
 41 Getting Started
 27 Community Member Introductions
 68 Community Announcements
 4.8K Archive