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
Mikkellex
Frequent Visitor

Help with index line in visualization

Hello, 

 

I need help with an index line. How can i set a fixed line to my y-axis as part of my index axis. The line should be fixed at index 100 to indicate whether we are on target or not (see illustration below).  

Secondly, how can I set index as percentage instead of the current number? (so 1,0 should be 100% instead). 

Thank you in advance

 

Capture.PNG

 

BR, Mikkel 

1 ACCEPTED SOLUTION
v-haibl-msft
Microsoft Employee
Microsoft Employee

@Mikkellex

 

You can create a measure with following formula to set a fixed line.

 

fixed_Measure = 60

Help with index line in visualization_1.jpg

 

If we want the secondary axis to be percentage, we can only add column/measure which do the percentage calculation into Line values. But cannot add line which represents the sales number as below.

 

Help with index line in visualization_2.jpg 

 

 

Best Regards,
Herbert

View solution in original post

2 REPLIES 2
v-haibl-msft
Microsoft Employee
Microsoft Employee

@Mikkellex

 

You can create a measure with following formula to set a fixed line.

 

fixed_Measure = 60

Help with index line in visualization_1.jpg

 

If we want the secondary axis to be percentage, we can only add column/measure which do the percentage calculation into Line values. But cannot add line which represents the sales number as below.

 

Help with index line in visualization_2.jpg 

 

 

Best Regards,
Herbert

Thank you for your help, it worked. 

 

BR, 

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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.