cancel
Showing results for
Search instead for
Did you mean:
Helper I

## 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

1 ACCEPTED SOLUTION
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
4 REPLIES 4
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Helper I

Thank you very much, work very welll.

Eyal

Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Helper I

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

## Helpful resources

Announcements

#### Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

#### Claim Your Badge & Digital Swag!

Check out how to claim yours today!

#### Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors
Top Kudoed Authors