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
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
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.