Forum Discussion

goalie_'s avatar
goalie_
Helper III
5 years ago
Solved

scatter plot multiple series

Hi all, I want to plot multiple series on the scatter plot visualization. Using data below as an example. Relating the temperature to % of transportation modes. I have data structured as below:

Table 1

country IDreplicateregiontemp
11north25
11south 13
11east5
21north30
21south 8
21east12
31north67
31south3
31east17

 and another table. Both are connected via the ID column

Table 2

country IDtransportation mode
1car25
1bus68
1train7
2car13
2bus40
2train47
3car35
3bus54
3train11

T

I have tried to make a scatter plot as Legend = Table1[ID], X-axis = Table2[%], Y-axis = Table1[temp]. I have a slicer for the region and transportation mode I have to select. and Each dot is individually colored by the ID.

 

I'd like to have a scatter plot such as. Please excuse the rudimentary drawing

edit:

For table 1, I forgot to mention there are multiple replicates of the temp taken for each country, region. I can do Legend = Table1[region], X-axis = Table2[%], Y-axis = Table1[temp] and that works for above. However it only works if I have a slicer with one replicate chosen. For each country, region pair, I want the average of all the replicates. Maybe a measure somehow?

1 Reply

  • Icey's avatar
    Icey
    Community Support

    Hi goalie_ ,

     

    How about put "%" or "temp" column into "Details" field?

     

     

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.