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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors