Forum Discussion
My scatter plot doesn't work
- 5 years ago
It would be better to change your model to create a country table with country code column that connects to your tables with country data. However, this measure expression works with your current model. Use it on your Y axis, format it as a %, and change the Y max back to auto.
Unemp Rate Treatas =
CALCULATE (
AVERAGE ( 'Unemployment Rate'[Unemployment Rate] ),
TREATAS (
VALUES ( 'GDP Per Capita'[Country Code] ),
'Unemployment Rate'[Country Code]
)
)Regards,
Pat
It would be better to change your model to create a country table with country code column that connects to your tables with country data. However, this measure expression works with your current model. Use it on your Y axis, format it as a %, and change the Y max back to auto.
Unemp Rate Treatas =
CALCULATE (
AVERAGE ( 'Unemployment Rate'[Unemployment Rate] ),
TREATAS (
VALUES ( 'GDP Per Capita'[Country Code] ),
'Unemployment Rate'[Country Code]
)
)
Regards,
Pat