Showing results for 
Search instead for 
Did you mean: 
New Member

Dynamic Y Axis Constant Line in Line chart (SSAS & PowerBI)

Hi All,


Please help.



I want to add dynamic 'Y Axis constant line' in Line Chart visual using a dropdown list slicer. 

So the user can select the constant line every month from the list and line will appear in chart.


Work Done so far:


I have created calculated table in SSAS with GENERATESERIES()



I am using SSAS as my datasource - live connection.

Howerver, when the conditional value format settings, i am always gettings summarization(Count,Sum,Avg etc)

But i need get the all parameter value.


"Field Value"
"What field should we base this on"



Any help will be highly appreciated.









Super User
Super User

@syam562 , Create a measure using the series


measure = selectedvalue(Param[Value])


and use that in constant line fx option

Helpful resources

Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors