Accounts with Profit Sharing Formula and Filter
Hello,
We've got some customers that have profit sharing rules in place. As my data comes over it doesn't take this into account so it shows full profit attributed to us. I'd like to have a filter to toggle profit sharing on or off to show either full profit or the profit taking into account the sharing. If, for example, I have CUSTOMER A that we only get 50% of the profit after sharing how would I best go about this? Could I just make a formula to adjust the profit on each account and the percent they should get? And then could I use that beast mode to make a filter on the dashboard or is that built separately?
Thanks!
Sam
Best Answers
-
I would have a table of profit share per customer like
Customer | Share
Customer A | 50%
Customer B | 100%
Then I'd join that table to full profit data, so I have a 'Share' value for every row. A BeastMode could then calculate the "Profit after sharing".
You can create filters on your dashboard using any column in your dataset. If you want to filter on a BeastMode, just make sure you click the option to share it to the dataset.
You could create some tables or visuals that include both the total profit and the profit after sharing. I'm not 100% sure I understand how you're thinking about the filter, but if you wanted it to switch between 'Total Profit' and the 'Profit after sharing', then you could use a 'variable' to create a control that switches between those two metrics:
Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
0 -
@SamanthaC I'd suggest adding a file upload/webform dataset that includes a list of all profit sharing customers and their respective profit sharing rates. You can then join your source data to this table on Customer Name/ID in a MagicETL, then use a formula tile to add the following calculations:
Profit Sharing Flag:
case when `Profit Share %` is not null then 'Profit Sharing' else 'Not Profit Sharing' end
Profit Share Amount:
`Profit`*ifnull(`Profit Share %`,1)
You could also accomplish this in Beast Mode, but using a master table allows you to keep your two calculations in sync and can be reused across multiple datasets/dataflows.
0
Answers
-
I would have a table of profit share per customer like
Customer | Share
Customer A | 50%
Customer B | 100%
Then I'd join that table to full profit data, so I have a 'Share' value for every row. A BeastMode could then calculate the "Profit after sharing".
You can create filters on your dashboard using any column in your dataset. If you want to filter on a BeastMode, just make sure you click the option to share it to the dataset.
You could create some tables or visuals that include both the total profit and the profit after sharing. I'm not 100% sure I understand how you're thinking about the filter, but if you wanted it to switch between 'Total Profit' and the 'Profit after sharing', then you could use a 'variable' to create a control that switches between those two metrics:
Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
0 -
@SamanthaC I'd suggest adding a file upload/webform dataset that includes a list of all profit sharing customers and their respective profit sharing rates. You can then join your source data to this table on Customer Name/ID in a MagicETL, then use a formula tile to add the following calculations:
Profit Sharing Flag:
case when `Profit Share %` is not null then 'Profit Sharing' else 'Not Profit Sharing' end
Profit Share Amount:
`Profit`*ifnull(`Profit Share %`,1)
You could also accomplish this in Beast Mode, but using a master table allows you to keep your two calculations in sync and can be reused across multiple datasets/dataflows.
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 754 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive