Forum Discussion

CEllis's avatar
CEllis
Resolver I
2 years ago
Solved

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

 

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

5 Replies

  • what is your expected outcome?  Something like this?

     

     

    • CEllis's avatar
      CEllis
      Resolver I

      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.