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

graphic representation

Good morning,
I would like to represent this graph.
a) evolution of the distance compared to the month
b) draw the line from zero to the maximum distance
c) if I select two identifiers which do not have the same max distance, a message is displayed saying "the two identifiers do not have the same max distance", in this case only the curves will be displayed and not the straight line
example: for a selected ID I would see the evolution of the distance and the line with the initial point up to the max distance,
Thank you for your help

Lebron45_0-1732720708900.pngLebron45_1-1732720865259.png

 

 

10 REPLIES 10
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information. Do not include anything that is unrelated to the issue or question.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Anonymous
Not applicable

Good morning,
I would like to represent this graph.
a) evolution of the distance compared to the month
b) draw the line from zero to the maximum distance
c) if I select two identifiers which do not have the same max distance, a message is displayed saying "the two identifiers do not have the same max distance", in this case only the curves will be displayed and not the straight line
example: for a selected ID I would see the evolution of the distance and the line with the initial point up to the max distance,
Thank you for your help
IDdistancedistance_maxmonthtest_1
12512000 1225
12515000 2456
12517000 3687
12518000 4895
125200008000060108
14013000 1278
14014000 24145
14017000 36189
14022000 48197
1402500010000060200
87012000 1278
87011000 2489
87015000 3698
87021000 48102
8702500015000060120
14512000 12145
14513000 24160
14517000 36170
14518000 48180
145220008000060200
17012000 1248
17013000 2479
17017000 3685
17018000 4898
17022000 60145
170240009100072170
18012000 1248
18013000 2479
18017000 3685
18018000 4898
18022000 60145
180240002000072170

Lebron45_0-1732892533296.png

 

here is how your data plots at the moment. Please indicate which changes you require.

 

lbendlin_1-1733178483765.png

Should they all start at (0,0) ?

 

Anonymous
Not applicable

hi @lbendlin thank you for your feedback, I want to draw a line which starts from 0 up to the maximum value for each ID, like that as soon as I select an ID I must see its curve which turns around the line, if the curve is above the right it is a red color, if the curve is below it is green

Sorry, I am not following.  Can you guarantee that the values for each line always increase? One line has more data points than the others - does that matter? 

 

 as soon as I select an ID I must see its curve which turns around the line

 

I cannot visualize that - can you please explain?

Anonymous
Not applicable

@lbendlin 

IDtest_Atest_maxtest_M
125000
125100001500012
125200002500024
125300003500036
140000
140140001000012
140200002500024
870000
870100001500012
870120002500024
870140003000036
870150003200048
900000
900120002400012
900130002200024
900140003500036

a) 

draw the curves

Lebron45_0-1733237815009.png

b) tracer la ligne droite qui part de 0 et va jusqu'à la valeur maximale de test_max
ex : si dans mon filtre id je selectionne un ID je dois voir la corbe de test_A et la droite qui part de 0 jusqu'a la valeur maximale de Test_max

Lebron45_1-1733237966452.png

c) if I select two different IDs which do not have the same identical line, a message is displayed "not compatible", in this case the line is not displayed and only the curves which are displayed
ex: ID 125 and ID 900 have the same maximum value 35000 so I will see the curve and the straight line, on the other hand ID 125 and 140 do not have the same maximum value, in this case I select these two, I would not have the right and a message "not compatible is displayed" and only the curves will also be displayed

d)put a color if my curve is above the line it's red, if it's below it's green

Lebron45_2-1733238440968.png

THanks

 

 

d) assumes that the latest data point is the highest. That assumption fails for ID 900 and Month 24, for example.

 

Might be better to just add a trend line.

lbendlin_0-1733249973327.png

 

for c) I would use small multiples

lbendlin_1-1733250063944.png

 

Anonymous
Not applicable

@lbendlin thank you for your feedback, the problem is that my trend line must pass through the origin (0,0), for each ID up to its maximum value of test_max, and it's on a single chart, because I have multiple ids

Anonymous
Not applicable

hi @lbendlin I can't insert an attachment

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.