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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors