Possible to graph a linear equation?
I wanted to graph this linear equation in domo
GoalVariance = (E_Rate)x + (N_Rate)y
Is this possible in Domo?
Answers
-
You'd need to generate a dataset with numbers between the min and max of your graph and then you could utilize variables within the page for the E_Rate and N_Rate Values to automatically update your graph. You can use the value from the dataset for both your x and y value.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
Yes, it is possible to graph a linear equation in Domo.
GoalVariance = (E_Rate)x + (N_Rate)y
To graph this equation in Domo, you can use the "Line" chart type, which allows you to plot a line based on a mathematical equation. Here are the steps you can follow:
- Create a new "Line" chart in Domo.
- In the "Data" tab, select the data source that contains the values for E_Rate, N_Rate, and GoalVariance.
- In the "X-Axis" section, select the column that corresponds to x (typically E_Rate in this case).
- In the "Y-Axis" section, select the column that corresponds to y (typically N_Rate in this case).
- In the "Line" section, select the "Equation" option.
- In the "Equation" input field, enter the linear equation in the form of y = mx + b, where m is the slope (E_Rate in this case) and b is the y-intercept (GoalVariance / N_Rate in this case).
- Click "Apply" to see the graph of the linear equation.
Note that you may need to adjust the scale of the x-axis and y-axis to make sure the graph is displayed correctly.
4 -
Hey @Lowell_Walker thank you for the reply. I am trying to follow your directions and getting stumped on step 5, not sure what I am missing. Can you point me in the right direction?
0 -
Hey folks, thanks for your help! I solved this using the first method of creating a dataset.
I pulled the two values from a separate table and created a small dataset of the two coordinates.
SELECT 0 AS New,
ExistingSlug
AS Existing
FROMcases_slug
UNION ALL
SELECTNewSlug
AS New, 0 AS Existing
FROMcases_slug
Then I created the XY graph and used the two variables
Thanks for your help!
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