Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
siddbrk
New Member

Line graph - Multiple lines return toward X axes

Dear,

 

I want to compare different charts with PowerBI.

Now Excel is used. There are a lot of CSV files that contain data. The data is extracted from the desired files via script and then graphs are made in an overview in Excel to be able to compare them. The problem is that the desired files have to be sectioned and the data retrieved every time.

I would prefer to collect the data via power query. Then it is easy to manage via a Dashboard.

 

The problem is that the graph curves and tilts back toward the X axis. All this is plotted in a line graph then the points are connected from right to left. But it should be from bottom to top. On this forum I have already seen a solution with the Charticulator. This only works for one line. I would like multiple lines (6) on a graph.

 

Power BI - chart.pngExcel - chart.png

 

I have tried with the table below. But on the Charticulator I only get one line and on the lingref the dots are not connected correctly.

 

NameDateCurrentVoltage
Device 116/07/2021544
Device 116/07/20211045
Device 116/07/20212050
Device 116/07/20214051
Device 116/07/20218053
Device 116/07/202116051
Device 116/07/202132047
Device 116/07/202164044
Device 216/07/2021546
Device 216/07/20211049
Device 216/07/20212050
Device 216/07/20214051
Device 216/07/20218054
Device 216/07/202116052
Device 216/07/202132049
Device 216/07/202164045
Device 117/07/2021531
Device 117/07/20211035
Device 117/07/20212039
Device 117/07/20214040
Device 117/07/20218044
Device 117/07/202116042
Device 117/07/202132040
Device 117/07/202164038
Device 217/07/2021535
Device 217/07/20211039
Device 217/07/20212045
Device 217/07/20214044
Device 217/07/20218045
Device 217/07/202116038
Device 217/07/202132035
Device 217/07/202164030

 

siddbrk_0-1631867282474.png

 

siddbrk_1-1631867309064.png

Kind regard Koen

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @siddbrk ,


Could you tell me if your problem has been solved?
If it is, kindly Accept the useful reply as the solution. More people will benefit from it.
Or you are still confused about it, please provide me with more details about your problem.


Best Regards,
Stephen Tao

lbendlin
Super User
Super User

You could swap X and Y axes ? 🙂

 

What may actually work is if you break up your data at the point where it curves back, and use two separate lines, one for each segment. Make the segments the same color so the users don't notice. See attached.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.