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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Community Champion
Community Champion

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.