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
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
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 Fabric 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.