Accessing regression line equation
I was able to add a regression line to my bar chart, however I cannot seem to access the equation for the line. It's a simple task in excel so I figured DOMO should be able to do this without a problem. What am I missing / How do I access it?
Comments

Hi @user060355
Currently Domo doesn't export the exact equation for the regression line. You could utilize an online regression calculator to calculate it possibly.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 
http://www.silota.com/docs/recipes/sqllinearregression.html
@GrantSmith lol i'm half tempted to try to calculate this in a dataset view (which actually shouldn't be difficult) and then calculate the X and Y points as calculated fields in the DSV.
Might have to build a view on a view...
but then you could plot it as a series.
Jae Wilson
Check out my 🎥 Domo Training YouTube Channel 👨💻
**Say "Thanks" by clicking the ❤️ in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0 
@user060355 ... be advised though... while showing the regression line in analyzer is interesting, it is very much dependent on the data that you see in your card. which of course implies, as soon as you add filters or interact w/ the card to apply filter, a new regression line will be calculated.
it may make sense to calculate the regression line in the dataset so it isn't impacted by applying filters to your data but that's up to you and your use case.
Jae Wilson
Check out my 🎥 Domo Training YouTube Channel 👨💻
**Say "Thanks" by clicking the ❤️ in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0
Categories
 10.5K All Categories
 8 Connect
 918 Connectors
 250 Workbench
 470 Transform
 1.7K Magic ETL
 69 SQL DataFlows
 477 Datasets
 195 Visualize
 253 Beast Mode
 2.1K Charting
 11 Variables
 17 Automate
 354 APIs & Domo Developer
 89 Apps
 3 Workflows
 20 Predict
 5 Jupyter Workspaces
 15 R & Python Tiles
 247 Distribute
 63 Domo Everywhere
 243 Scheduled Reports
 21 Manage
 42 Governance & Security
 174 Product Ideas
 1.2K Ideas Exchange
 12 Community Forums
 27 Getting Started
 14 Community Member Introductions
 55 Community News
 4.5K Archive