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
cgc1223
New Member

Scatter Plot with Dynamic Measure and Static Data

Hello, I am trying to get a scatter plot with a dynamic measure and static data. 

 

The user provides input to a what if parameter slicer which then calculates a value in a measure. I would then like to plot this as a point, (x,y) cordinate as (user input, measure) on the same graph as another database value. I do not know how to get both of them to display on the scatter chart. I tried creating a calcuated table but it does not update with the what if parameter. Is there a way to get this visual? 

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

Hi, @cgc1223 

According to your description, I can roughly understand your requirement, you want to make the data point displayed with the selection of the measure slicer, right? I think you can try my steps:

This is my test data:

v-robertq-msft_0-1622513779259.png

 

I created a measure like this:

Flag =

IF(MAX('Table'[X])=[Parameter Value],1,0)

Then I created a scatter chart to apply a visual filter like this:

v-robertq-msft_1-1622513779270.png

 

And you can get what you want.

You can download my test pbix file below

 

Thank you very much!

 

Best Regards,

Community Support Team _Robert Qin

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

3 REPLIES 3
v-robertq-msft
Community Support
Community Support

Hi, @cgc1223 

According to your description, I can roughly understand your requirement, you want to make the data point displayed with the selection of the measure slicer, right? I think you can try my steps:

This is my test data:

v-robertq-msft_0-1622513779259.png

 

I created a measure like this:

Flag =

IF(MAX('Table'[X])=[Parameter Value],1,0)

Then I created a scatter chart to apply a visual filter like this:

v-robertq-msft_1-1622513779270.png

 

And you can get what you want.

You can download my test pbix file below

 

Thank you very much!

 

Best Regards,

Community Support Team _Robert Qin

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

amitchandak
Super User
Super User

@cgc1223 , X and Y axis on scatter are measures, so they are dynamic. You can use what of measure in those. You can not create a table with slicer parameters, so you have to work with measures

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you for your response! I am not sure that I understand. I get that you can plot two measures on a scatter plot. Is there a way to plot a measure with a static table on the scatter plot. Please see the snippet below. 

pbi_photo.png

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

Top Solution Authors