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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
CEllis
Resolver I
Resolver I

Scatter Graph - Measures for Axis

 

Could someone advise if this is possible.

 

I am trying to change the x & y on a scatter graph using measures in the table below.

 

My thoughts are if a selection is made using the DAX measure below it changes the X axis on a scatter chart, this seems to work.

 

The next step would be to do the same thing with the y but this keeps hold of the filter for X.

 

 

Selection X = SWITCH(TRUE(),

HASONEFILTER('Assessment'[Subject (Collection Point)]),CALCULATE(AVERAGE(' Assessment'[Result]),ALLEXCEPT('Assessment','Assessment'[Subject (Collection Point)]))

)

 

 

Assessment

IDSubject (Collection Point)Result
1Mathematics (1)6
2Mathematics (1)5
3Mathematics (1)3
4Mathematics (1)4
5Mathematics (1)4
6Mathematics (1)3
7Mathematics (1)3
8Mathematics (1)6
9Mathematics (1)2
10Mathematics (1)6
11Mathematics (1)6
12Mathematics (1)5
13Mathematics (1)2
1Mathematics (2)4
2Mathematics (2)4
3Mathematics (2)5
4Mathematics (2)6
5Mathematics (2)7
6Mathematics (2)8
7Mathematics (2)9
8Mathematics (2)6
9Mathematics (2)9
10Mathematics (2)4
11Mathematics (2)8
12Mathematics (2)9
13Mathematics (2)8
1Reading (1)6
2Reading (1)5
3Reading (1)3
4Reading (1)4
5Reading (1)4
6Reading (1)3
7Reading (1)3
8Reading (1)6
9Reading (1)2
10Reading (1)6
11Reading (1)6
12Reading (1)5
13Reading (1)2
1Reading (2)4
2Reading (2)4
3Reading (2)5
4Reading (2)6
5Reading (2)7
6Reading (2)8
7Reading (2)9
8Reading (2)6
9Reading (2)9
10Reading (2)4
11Reading (2)8
12Reading (2)9
13Reading (2)8

 

1 ACCEPTED SOLUTION

Enable "Personalize Visuals"  and teach your users how to use it.

View solution in original post

5 REPLIES 5
lbendlin
Super User
Super User

what is your expected outcome?  Something like this?

 

lbendlin_0-1707184468354.png

 

Hi @lbendlin 

 

X would be the selected subject Reading (1) 

Y would be the selected subject Reading (2)

 

Using 2 filters I could select different 'Subject Collection Point' that would change the X and Y axis to the filter selections from both filters.

 

like this? 

lbendlin_0-1707255379124.png

 

Hi @lbendlin 

 

Yes but with the option of changing the x and y axis using a slicer dynamically

Enable "Personalize Visuals"  and teach your users how to use it.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.