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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
ccjj
Helper I
Helper I

Possible to only fill point in Scatter chart with selected value?

Hi, 

I have a scatter with lots of data points (many of which are overlapping).  I am setting Fill Point Off, and using the following measure to highlight the selected data point to RED in order to see through the overlapped data.  

 

ScatterHighlight = if(SELECTEDVALUE(Dim_CompanyName[company]) = selectedvalue(datatable[company]), "Red")
 
Is there a way to set the FIll Point ON for only selected value?  Tried searching in community and have not seen anything.
 
Thank you
1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @ccjj 

 

Download example PBIX file

 

If you use RGBA color values you can set the A (Alpha or opacity) to make data points transparent or opaque.

 

Something like this, which makes the red point opaque and all other points partially transparent.

 

CF = IF( MIN('Table'[Y]) = 2.6, "RGBA(255,0,0,1)" ,  "RGBA(0,255,0,0.2)")

 

 

opacity.png

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

2 REPLIES 2
PhilipTreacy
Super User
Super User

Hi @ccjj 

 

Download example PBIX file

 

If you use RGBA color values you can set the A (Alpha or opacity) to make data points transparent or opaque.

 

Something like this, which makes the red point opaque and all other points partially transparent.

 

CF = IF( MIN('Table'[Y]) = 2.6, "RGBA(255,0,0,1)" ,  "RGBA(0,255,0,0.2)")

 

 

opacity.png

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Thank you  @PhilipTreacy !  

After playing around with the Alpha channel, that worked GREAT!

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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