Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ELW
Advocate II
Advocate II

Line graph from multiple parameters

How can I make a Line Chart visualization from user-input parameters?  I've got four parameters that would correspond with two pairs of coordinate (x,y) values for the chart.  Ideally I want a user to be able to adjust the parameter sliders and see the resulting line on the chart.  

 

If I'm understanding correctly, this can't be done with SelectedValue in a table as it just gets the parameters' default values, not the current or selected value.  Is there a way to do this with measures, or some other route?  

 

Here's basically what I want it to look like:

parameter graph.PNG

2 REPLIES 2
ELW
Advocate II
Advocate II

I'm still curious if there is any way of acheiving this, with custom visualizations or anything.  The ability to let a user place their own line in a chart along with the data is really important to my team and I have yet to figure out a way of getting PowerBI to do this.  

v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @ELW ,

 

Based on my test, such a requirement is not achievable. We are not able to add measures which can be dynamically determined by slicer items (parameter values) onto chart axis.

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.