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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

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

@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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors