Table Card - Total to be % calculation rather than SUM, rows by week
I've attached an excel workbook showing a sample bit in its raw form, what I want to get out of that, and what I am getting.
I'm primarily having two issues:
- Getting everything on 1 row by fiscal week. I can accomplish this until I add a percentage beastmode, then the rows will no longer be condensed to 1 row per week. It changes to 1 row per calculation.
- Getting the table total to function like the beastmode, taking the total performed divided by the total projected, rather than a sum of the beastmode rows.
One thing I tried was modifying my beastmode to a partition by week, recruiter, rather than "performed"/"projection"
This was helpful in the sense that, even after the rows became uncondensed, it still gave the % by week, rather than by row. But this still leaves me with uncondensed rows and doesn't help my total row issue.
The other thing i tried was modifying the beastmode to only partition the denominator by week and recruiter. Then, I could just collapse the rows for week % totals. But this also did not resolve my final, bottom total row. The final bottom total row still SUMs.
This would be a lot easier to accomplish if they did not need it in a table card and I could use bar graphs and separate cards for week total and year total, etc., but thats how they want it so I am doing my due dilligence.
They're also going to want to be able to filter by different procedure codes, so that is why I'm hesitant to attempt this in ETL with group bys or rank and windows
I hope this makes sense
You just need to utilize aggregates in your beast mode to add all of the elements in the group before determining the percentage.
SUM(`performed`) / SUM(`projected`)
You can then format that as a percentage to display correctly.
The problem with the Total Row column is that it adds everything together so if you're at 80% for both weeks it'll think it's 160% instead of the 80% across the total.
You could try and union / stack your data such that there is a "Total" recruiter the the aggregated data but that won't allow you to see those total records if you're filtering on a specific recruiter.**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**2
- 7.7K All Categories
- 3 Connect
- 919 Connectors
- 244 Workbench
- 477 Transform
- 1.8K Magic ETL
- 60 SQL DataFlows
- 446 Datasets
- 37 Visualize
- 198 Beast Mode
- 2K Charting
- 8 Variables
- 18 Cards, Dashboards, Stories
- 1 Automate
- 348 APIs & Domo Developer
- 82 Apps
- 14 Predict
- 3 Jupyter Workspaces
- 11 R & Python Tiles
- 241 Distribute
- 59 Domo Everywhere
- 241 Scheduled Reports
- 15 Manage
- 36 Governance & Security
- 27 Product Ideas
- 1.1K Ideas Exchange
- Community Forums
- 14 Getting Started
- 1 Community Member Introductions
- 49 Community News
- 18 Event Recordings
- 579 日本支部