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
Anonymous
Not applicable

custom limit lines using line graph

Hello, I have a set of data that if correct should present to form limit lines.  For example one  set might be:

 

 

y-axis             x-axis

#amount      amount

15                  100

15                  600

30                  1,200

30                  1,400

 

 

 

Idealy for the limit lines to present correctly the line would be connected from 100 to 600 then disconnected from 600 to 1200 and connected from 1200 to 1400.

 

All I can get is them the apear in point forms or one whole line. Is there a way, what should i try.

 

Any and all help is greatly apriciated, thanks

 

Collin.

1 ACCEPTED SOLUTION

Hi Collin,

 

So how can we or the graph know which dots should be connected and which dots shouldn't be connected?

Maybe there is a workaround that adds a new column to group these dots. Please download the demo and give it a try.

1. Create a column.

Column = if([X] <= 600, 1, 2)

custom-limit-lines-using-line-graph

2. Add it to the legend.

custom-limit-lines-using-line-graph2

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

9 REPLIES 9
v-jiascu-msft
Employee
Employee

Hi Collin,

 

Can adding the Y to the legend solve this requirement? Please refer to the snapshot below.

custom_limit_lines_using_line_graph

 

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thankyou Dale that Worked, 

 

One more thing, 

is there a way to have a diffrent or added legend to the graph without changing the data. 

the graph looks good but would like the legend to catagorize diffrently.

 

thanks for the help. 

 

- Collin

Hi Collin,

 

So what's the result you expect?

 

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

The x and y values line up with a units column, so if you had:

 

           y-axis             x-axis

units    #amount      amount

 1          15                  100

 1          15                  600

 2          30                  1,200

 2          30                  1,400

 

id like the legend to show the 1s and 2s not the Y vaules. 

 

Thanks for replying,     -Collin 

Hi Collin,

 

Just add the units into the legend. Is it?

custom_limit_lines_using_line_graph2

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hello dale, so this is what i have for data now . i would like to be able to have these dots connect  but not continuous .

origonal - what i haveorigonal - what i have

what i wantwhat i want

thanks,

-Collin

 

 

 

Hi Collin,

 

So how can we or the graph know which dots should be connected and which dots shouldn't be connected?

Maybe there is a workaround that adds a new column to group these dots. Please download the demo and give it a try.

1. Create a column.

Column = if([X] <= 600, 1, 2)

custom-limit-lines-using-line-graph

2. Add it to the legend.

custom-limit-lines-using-line-graph2

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

yes, Thankyou, that equasion was exactly what i needed. 

 

I have another question. I have a graph that looks like this currentlyCapture.PNG                  .   

This is the data for the chart above-------------

 

 IDFrequencyRequirement LevelValues in chart
1170point 1
115106?
130106?
11596?
13096?
130106?
140096 point 4

  

I would like it to show all 7 points and not sum diffrent things. i have made the frequency and requirement columns set to not sum from the modeling tab. "values in chart " is not part of graph.

Thanks for the help. 

 

- Collin

   

Hi Collin,

 

How about applying the same trick on this topic? If it can't work, I would suggest you create a new thread in this forum. One topic, one post. Please also mark the proper answers as solutions. Thanks for your understanding.

 

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.