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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
bdeleur
Helper III
Helper III

Visualization issue

Hi,

 

I'm having a visualization issue that I can't quite figure out. Hopefully, someone can help me further. I have a line chart showing the hourly average (measurements taken every quarter-hour). This is represented by the white line. It's an occupancy line, indicating how much occupancy there is. Sometimes, there may be a notification that there is no more capacity. In that case, a red block appears. This is also a line with just a marker, placed on the secondary axis. The value is 1 while the line could be 15. Now, I would like to have this marker on the white line instead of always at the same height on the secondary axis. How could the formula be in DAX for this?

bdeleur_0-1714044505880.png

 

1 ACCEPTED SOLUTION
bdeleur
Helper III
Helper III

I thought too complicated. I made an if statement: if the score is 1, then the value of the other measure, otherwise blank. Sometimes you shouldn't think so hard. Thanks for brainstorming with me

View solution in original post

3 REPLIES 3
bdeleur
Helper III
Helper III

I thought too complicated. I made an if statement: if the score is 1, then the value of the other measure, otherwise blank. Sometimes you shouldn't think so hard. Thanks for brainstorming with me

Uzi2019
Super User
Super User

Hi @bdeleur 
You can align both the Lines by having Mimimum and Maximum range fixed for Y axis and secondary y axis.

 

Uzi2019_0-1714045032792.png

 

 

I hope This may resolved your issue!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Hi @Uzi2019 ,

 

Hi, that won't work because both are different numbers. One is 1 and the other is 15. You can't combine them that way.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.