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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Analitika
Post Prodigy
Post Prodigy

Show visual if selected on other visual Power BI

Hi,

 

I would like to ask if I select on other visual then diagram appears in first visual if not selected then no diagram not appears in first visual. Like example. 

If other visual not selected:

Analitika_0-1685952618164.png

If other visual selected:

 

Analitika_1-1685952685064.png

How implement this solution?

 

 

1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

Hi , @Analitika 

Accoridng to your description, you want to "Show a y-line if selected on other visual Power BI".

Here are the steps you can refer to :
(1)This is my test data:

vyueyunzhmsft_0-1686108534650.png

(2)We can create a measure like this:

Measure = var _check =  ISFILTERED('Table1'[Level])
return
IF(_check , 80,BLANK())

 

(3)Then we can put this measure in the "Y-axis Contant Line":

vyueyunzhmsft_1-1686108622357.png

 

Then we can get this:

vyueyunzhmsft_2-1686108659210.png

 

 

 

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

View solution in original post

1 REPLY 1
v-yueyunzh-msft
Community Support
Community Support

Hi , @Analitika 

Accoridng to your description, you want to "Show a y-line if selected on other visual Power BI".

Here are the steps you can refer to :
(1)This is my test data:

vyueyunzhmsft_0-1686108534650.png

(2)We can create a measure like this:

Measure = var _check =  ISFILTERED('Table1'[Level])
return
IF(_check , 80,BLANK())

 

(3)Then we can put this measure in the "Y-axis Contant Line":

vyueyunzhmsft_1-1686108622357.png

 

Then we can get this:

vyueyunzhmsft_2-1686108659210.png

 

 

 

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.