Forum Discussion
carlosxxss
3 years agoRegular Visitor
Showing table with python containing trendline formula from scatter plot
I have a Python script running in Power BI desktop that shows a scatter plot with a exponential and linear trendline. Also it shows the formula of the trendlines and the R-squared value. My dataset c...
YG0n
2 years agoNew Member
In your Python script, how do you refer to actual columns/data already loaded in your pbix?
I have loaded some data from SQL and I cant find a way to use them as df
- lbendlin2 years agoSuper User
you add the desired columns to the values area of the Python visual. That will automatically include them in the dataframe.