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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Scatterplot - Slicer as the X Axis

Hi all, 

 

I've created 4 different measures, each which calculates a profit based on a revenue scenario.  I've used measures instead of columns (Revenue Column - Cost Column = Profit Column) as the Totals in the table are data points on the graph, and the totals are only correct when I use Measures.  

 

I'm looking for this to work in conjunction with a Slicer i.e. the Slicer and the X Axis field om the Scatterplot are the same, and as I change the scenario in the slicer, the X-axis adjusts accordingly.  For example, 

 

Slicer:  Select Profit Measure scenario (I have created a Measure Table with all scenarios)

X - Axis:  Dynamic and adjusts to what Measure scenario is selected

I've looked through a few different queries but they are all slightly different to my query and think I might have to go down a different avenue.

 

Any help greatly appreciated!

 

Stephen

 

Has anyone had experience doing this?

2 REPLIES 2
johncolley
Solution Sage
Solution Sage

Hi @Anonymous ,

 

Sounds like you want to use Field Parameters for your X-Axis: https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters 

 

You can create a slicer of measures and the scatterplot will update the Axis based on your selection.

 

Please review the provided link and if you require more help or an example please provide some sample data.

 

If this answer solves your problem please mark it as a solution!

Anonymous
Not applicable

Thanks @johncolley for your response.

 

What-if parameters won't work in this case, as I want to make a calculated column using the result (from what I've read and in my experience, you can't add a measure in a calculated column) which is proving to be the tricky point.

MicroUser_4214_0-1672960652897.png

 

What I am currently looking for is a slicer which chooses the respective column (1,2,3,4 or 5), which is then added to a to provide a result in the last column which I use in my visual.  It's quite convoluted but again any workarounds or input is welcomed.

 

Cheers, 

Stephen

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.