Using the summary number in beast mode
I have a data set that has invoice amount for each customer. I would need to create a card to show % invoiced for each client. % Invoiced to be calculated based on the total invoiced amount for all clients vs. the invoice amount for that client.
I have chosen the table view in the card and placed the client name and invoice amount columns. Have used the sum of invoice amount as summary number. Now i need to use the summary number in beast mode to divide the summary number with the invoice amount to get the % Invoiced.
I know how to do this in dataflow or sql query but i want to give an ability to the user to choose a date range or filter any of the clients and see the % invoiced. Is there any way that i can use the summary number in beast mode?
Comments
-
It would be pretty tought to have all that flexibility with the raw data as-is. You're talking about handling the same rows of data multiple times, treating each run differently depending on where they are in the ratio. Filtering on a customer in this case won't work because it would filter out the rows for the denonimator, too, so you'd end up with 100% every time.
Or you could add a new column in a dataflow to provide the total invoice value on every customer invoice row (do the total aggregation outside of beast mode, on the dataset level). We've done this in the past and it seems to work well. The trick is to make sure the customer amount and total amount are at the same level of detail, like summed up by day.
Aaron
MajorDomo @ Merit Medical
**Say "Thanks" by clicking the heart in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0 -
Hi Aaron,
Thanks for your reply.
If i am adding a new column in data set through workbench or dataflow, i can get the total invoiced amout for each customer but this total invoiced amount will not change while the users are filtering the data in domo cards.
For an example, i have totaled the invoice amount from all the invoices generated within last 12 months. If the user wants to see the trend of last 6 months, then applying the filter based on invoice date would not work.. right?? so new data set to be created depending on the user needs.
I am looking for any options that is already exist in domo so i can give a flexibility to the users to filter the data by any criteria and still get the desired result.
Regards,
Naveen
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 297 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 614 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 729 Beast Mode
- 53 App Studio
- 40 Variables
- 677 Automate
- 173 Apps
- 451 APIs & Domo Developer
- 45 Workflows
- 8 DomoAI
- 34 Predict
- 14 Jupyter Workspaces
- 20 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 121 Manage
- 118 Governance & Security
- Domo Community Gallery
- 32 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive