Forum Discussion
Scatter chart and multiple data series
- Anonymous3 years ago
Hi GIvanov ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2)Click "transform data" to enter the power query editor, then select [y1] and [y2] columns, click to transpose other columns, then select [Attribute] and [Value] columns, click to transpose other columns, and then click close and apply.
(3)We can create a calculated column.
Legend = SWITCH(TRUE(), AND(CONTAINSSTRING('Table'[Attribute-x],1) ,CONTAINSSTRING('Table'[Attribute-y],1)),1, AND(CONTAINSSTRING('Table'[Attribute-x],2) ,CONTAINSSTRING('Table'[Attribute-y],2)),2)(4)Then we can create a table.
Table 2 = FILTER('Table','Table'[Legend]=1 || 'Table'[Legend]=2)(5) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi GIvanov ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2)Click "transform data" to enter the power query editor, then select [y1] and [y2] columns, click to transpose other columns, then select [Attribute] and [Value] columns, click to transpose other columns, and then click close and apply.
(3)We can create a calculated column.
Legend = SWITCH(TRUE(),
AND(CONTAINSSTRING('Table'[Attribute-x],1) ,CONTAINSSTRING('Table'[Attribute-y],1)),1,
AND(CONTAINSSTRING('Table'[Attribute-x],2) ,CONTAINSSTRING('Table'[Attribute-y],2)),2)
(4)Then we can create a table.
Table 2 = FILTER('Table','Table'[Legend]=1 || 'Table'[Legend]=2)
(5) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- GIvanov3 years agoFrequent VisitorI needed few hours to understand how it works, but it really works. Thank you.