Forum Discussion

Eyal's avatar
Eyal
Icon for Helper II rankHelper II
7 years ago
Solved

Scatter plots from atributes

Hi,

 

I have a a large data set, arrange as a flat table that  iI use to control trends from diffrent attributes.

I want to creat a scatter plot to see the correlation between the attributes but could not figure out the orrect meassure.

Thank you

Eyal

  • Anonymous's avatar
    Anonymous
    7 years ago

    HI Eyal ,

     

    You can try to use following measures:

    HeightM=
    CALCULATE (
        MAX ( Table[Value] ),
        FILTER ( ALLSELECTED ( Table ), [Attribute] = "Hight" ),
        VALUES ( Table[Lot] )
    )
    
    
    PriceM =
    CALCULATE (
        MAX ( Table[Value] ),
        FILTER ( ALLSELECTED ( Table ), [Attribute] = "Price" ),
        VALUES ( Table[Lot] )
    )
    

    Regards,

    Xiaoxin Sheng

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI Eyal ,

     

    You can try to use following measures:

    HeightM=
    CALCULATE (
        MAX ( Table[Value] ),
        FILTER ( ALLSELECTED ( Table ), [Attribute] = "Hight" ),
        VALUES ( Table[Lot] )
    )
    
    
    PriceM =
    CALCULATE (
        MAX ( Table[Value] ),
        FILTER ( ALLSELECTED ( Table ), [Attribute] = "Price" ),
        VALUES ( Table[Lot] )
    )
    

    Regards,

    Xiaoxin Sheng

    • Eyal's avatar
      Eyal
      Icon for Helper II rankHelper II

      Anonymous 

       

      Thank you very much, work very welll.

       

      Eyal

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Eyal ,

     

    You can create a matrix visual to achieve your requirement.

     

    Steps:
    1. Drag Lot to row, attribute to column, value to value field.
    2. Create a slicer with source of attribute column.
    3. Choose attribute value which you wanted display on matrix visual.

     

    Regards,

    Xiaoxin Sheng

    • Eyal's avatar
      Eyal
      Icon for Helper II rankHelper II

      Anonymous 

       

      I am sorry, I was not clear enough.

      The issue is not to get the matrix table.  I want to create two measures that I could use for a scatter plot visual and a correlation calculation.

       

      Thanks for your help

      Eyal