Forum Discussion

Saiprasannakuma's avatar
Saiprasannakuma
New Member
4 years ago
Solved

Scatter Plot

Can we make four matrix visuals along the sides of four quadrants in scatter plot ? The Matrix visuals should have data restricted to that particular quadrant only. I'm looking for a way to achieve ...
  • v-kkf-msft's avatar
    4 years ago

    Hi Saiprasannakuma ,

     

    Please create these measures.

     

    Avg_Col_1 = 
    CALCULATE ( AVERAGE ( 'Table'[Column1] ), ALLSELECTED ( 'Table' ) )
    Avg_Col_2 = 
    CALCULATE ( AVERAGE ( 'Table'[Column2] ), ALLSELECTED ( 'Table' ) )
    quadrant = 
    IF ( SUM ( 'Table'[Column1] ) >= [Avg_Col_1], 5 )
        + IF ( SUM ( 'Table'[Column2] ) >= [Avg_Col_2], 10 )

     

    Then add constant lines to the scatter plot with values of measure [Avg_Col_1] and measure [Avg_Col_2], respectively.

     

               

     

    Quadrant 1:


    Quadrant 2:

     

    Quadrant 3:

     

    Quadrant 4:

     

     

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
    Best Regards,
    Winniz
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.