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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Microsoft Employee
Microsoft 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.