Adding Variance to a card
Hello! I am struggling to find a solution for an issue I am having. Basically we are creating a table that shows a list of metrics with their Actual Value and Budgeted Value, and I want to add the variance. I have the data formatted in two different ways. The screenshot below shows what the data looks like. If I use the data on the left, I can use a simple beastmode to find variance, if I use the data on the right, I can use a CASE statement beastmode, and this works fine.
Where the issue comes in, is we have a third metric we are measuring, which is a ratio between the values. We want to calculate 'Revenue/Hour' for the actual amount and budgeted amount, as well as the variance between the two. For this I know how to make the beastmodes to get the ratios themselves using either set of data, but I cannot figure out a way to show the variance between the budgeted and actual ratio.
I know I could just add the ratios in the ETL, but I don't want the ratios to be static based on a timeframe. I would like to be able to create a card where we can change the timeframe and the ratios will change dynamically. Does anyone know if this sort of thing is possible? I am also fine if the calculated ratios would have to be in a separate card from the already listed metrics. I know it could be hard to blend the two in a single card. This is the type of format that I want the output to look like:
Best Answer
-
I think you are going to want to pivot your data further in your ETL so that you have one row per date with the following columns: Actual Hours, Budget Hours, Actual Revenue, Budget Revenue, Date.
This will allow you to do the math for the ratio very easily.
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0
Answers
-
I think you are going to want to pivot your data further in your ETL so that you have one row per date with the following columns: Actual Hours, Budget Hours, Actual Revenue, Budget Revenue, Date.
This will allow you to do the math for the ratio very easily.
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0 -
Hello Mark! Thank you for your response, that makes sense. The only thing is that our actual dataset is much larger and has like 100 metrics, so this would end up being a ton of columns. Do you know if there would be any way to simplify it?
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 738 Beast Mode
- 56 App Studio
- 40 Variables
- 684 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 35 Predict
- 14 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 123 Manage
- 120 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive