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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
zealotworld
Frequent Visitor

Line chart Y-Axist Constant Reference Line display 0 with blank value

Hi,

 

I have created a target measure that returns Blank <> when no target applies.
When I try to use this measure with a Y-axis constant reference line chart, the Y-axis reference line shows a 0 there, which is very misleading.

I found that a similar bug was already reported in an investigation by 2021.

https://community.fabric.microsoft.com/t5/Issues/Analytics-Y-Axis-Constant-Line-bug/idi-p/2226049

Is there a solution? Im using the latest Power BI version: 2.119.986.0 64-bit (July 2023)

Capture.PNG

 

 

5 REPLIES 5
ManuGP
Helper I
Helper I

Hi @zealotworld I am running into this same problem in 2025 (Version: 2.139.2054.0 64-bit (January 2025). By reading your case I'm more convinced this is a bug. 

 

In my case it is more evident because I have 2 measures shown as reference lines in a scatterplot. Both are built very similarly: 

 

Overall KPI = SWITCH( SELECTEDVALUE(DrilldownSelection[Selected Entity]), "dd1", [KPI Main Selection], "dd2",[KPI Main Selection], "dd3", [KPI Main Selection], BLANK() )
Overall Target = SWITCH( SELECTEDVALUE(DrilldownSelection[Selected Entity]), "dd1", [KPI Target], "dd2",[KPI Target], "dd3", [KPI Target], BLANK() )

 

When both measures return value they are shown:

ManuGP_1-1739436305339.png

...but somehow when we are in the conditions where both lines should return BLANK one of them is effectively not shown, but the other shows as 0. 

 

Thanks in advance

ManuGP_0-1739436098498.png

I checked everything and the settings of both reference lines are exactly the same.

 

Have you found out anything else since 2023?

Hi @ManuGP ,

 

Are you able to share a sample file or a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.

Thank you.
If the information is sensitive please share it trough private message.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



MFelix
Super User
Super User

Hi @zealotworld ,

 

I cannot replicate this issue on the last version of Power BI. What is the version you are using.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



 Hi @MFelix , Im using version 2.119.986.0 64-bit (July 2023)

This is the latest version. 

 

Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.

If the information is sensitive please share it trough private message.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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