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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
NPinto
Frequent Visitor

Divide Line Chart by phases

Hi all! This is my first post here, thanks for welcoming me, I'm looking for some help.


The goal is to analyze the behavior of a variable Speed(rpm) in a line graph.


Is it possible to divide the graph into phases? I have a column with the number of the phase of each timestamp record. I want to achieve somethink like this example: 

 

linePhases.png


Thanks!

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@NPinto , if you have phase and the numbers available, Put them on axis and sort of these two and then disable concatenate the label

Concat 1.pngConcat Label Off.pngConcat2.png

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

NPinto
Frequent Visitor

@amitchandak  I was missing the final step:

- Sort the visual by the axis. 

NPinto_0-1619077089778.png
Thanks!

 

View solution in original post

4 REPLIES 4
GDUb
Advocate I
Advocate I

Hi, @NPinto . Here is a solution that I think meets your requirments. Create a simple line chart with time on the X axis, and your sample value on the Y axis, like so:

GDUb_0-1692731494874.png

Next, in the visualizations pane, drop your phase ID column into the "Legend" field, like this:

GDUb_1-1692731581899.png

That should result in your line chart looking like this:

GDUb_3-1692731642223.png

Finally, on the format tab, under Visual>Lines, format the lines to the same color:

GDUb_4-1692731817859.png

Result:


GDUb_6-1692731858023.png

 

Does that meet your needs? 

 

 

amitchandak
Super User
Super User

@NPinto , if you have phase and the numbers available, Put them on axis and sort of these two and then disable concatenate the label

Concat 1.pngConcat Label Off.pngConcat2.png

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak I'm really thankful for your quick reply! 
 I couldn't do it. I've tried to create some hierarchy with phase and time as well. Any help ?
1.jpg

NPinto
Frequent Visitor

@amitchandak  I was missing the final step:

- Sort the visual by the axis. 

NPinto_0-1619077089778.png
Thanks!

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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