Forum Discussion
Create line diagram with multiple lines
Hello dear people,
This may have been answered before, but i was not able to find any source that could explain to me how to achieve what i want.
I have a table with data (see below) with "two x axis" and two y axis. How do i make a line chart/scatter plot with this data? I am able to create this easily using excel "scatter plot line diagram".
Can anyone point me in the right direction of how to achieve this? Thanks a lot in advance!
Below is the tabel of data as well as an image of what I want to make in Power Bi.
What i want:
| x | y | x_2 | y_2 | |
| 0,00 | 13,66 | 0,00 | 42,90 | |
| 6,92 | 13,77 | 11,31 | 42,81 | |
| 12,23 | 13,59 | 20,18 | 42,73 | |
| 17,80 | 13,31 | 31,89 | 41,91 | |
| 23,68 | 13,08 | 42,67 | 41,35 | |
| 29,30 | 12,55 | 52,66 | 39,58 | |
| 34,90 | 12,40 | 63,14 | 38,42 | |
| 40,44 | 11,58 | 73,44 | 37,45 | |
| 45,94 | 11,39 | 83,63 | 36,87 | |
| 51,47 | 11,04 | 93,90 | 36,60 | |
| 57,03 | 10,57 | 104,12 | 34,43 | |
| 62,55 | 9,77 | 114,34 | 32,44 | |
| 68,07 | 8,81 | 124,61 | 29,44 | |
| 73,57 | 8,00 | 134,83 | 26,16 | |
| 79,11 | 6,98 | 145,08 | 22,76 | |
| 84,64 | 5,76 | 155,29 | 18,73 | |
| 90,14 | 4,43 | 165,51 | 14,49 | |
| 95,70 | 3,08 | 175,77 | 9,76 | |
| 101,21 | 1,79 | 185,97 | 4,80 | |
| 104,95 | 0,00 | 194,45 | 0,00 |
Hi OrangeApple ,
You need to split the two pairs of data into two tables in Power Query, and then append them into one table.
Please refer to my .pbix file.
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- OrangeAppleRegular Visitor
Noone with a possible solution? 🙂
- v-lionel-msftCommunity Support
Hi OrangeApple ,
You need to split the two pairs of data into two tables in Power Query, and then append them into one table.
Please refer to my .pbix file.
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.