Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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
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...
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
ID | distance | distance_max | month | test_1 |
125 | 12000 | 12 | 25 | |
125 | 15000 | 24 | 56 | |
125 | 17000 | 36 | 87 | |
125 | 18000 | 48 | 95 | |
125 | 20000 | 80000 | 60 | 108 |
140 | 13000 | 12 | 78 | |
140 | 14000 | 24 | 145 | |
140 | 17000 | 36 | 189 | |
140 | 22000 | 48 | 197 | |
140 | 25000 | 100000 | 60 | 200 |
870 | 12000 | 12 | 78 | |
870 | 11000 | 24 | 89 | |
870 | 15000 | 36 | 98 | |
870 | 21000 | 48 | 102 | |
870 | 25000 | 150000 | 60 | 120 |
145 | 12000 | 12 | 145 | |
145 | 13000 | 24 | 160 | |
145 | 17000 | 36 | 170 | |
145 | 18000 | 48 | 180 | |
145 | 22000 | 80000 | 60 | 200 |
170 | 12000 | 12 | 48 | |
170 | 13000 | 24 | 79 | |
170 | 17000 | 36 | 85 | |
170 | 18000 | 48 | 98 | |
170 | 22000 | 60 | 145 | |
170 | 24000 | 91000 | 72 | 170 |
180 | 12000 | 12 | 48 | |
180 | 13000 | 24 | 79 | |
180 | 17000 | 36 | 85 | |
180 | 18000 | 48 | 98 | |
180 | 22000 | 60 | 145 | |
180 | 24000 | 20000 | 72 | 170 |
here is how your data plots at the moment. Please indicate which changes you require.
Should they all start at (0,0) ?
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?
ID | test_A | test_max | test_M |
125 | 0 | 0 | 0 |
125 | 10000 | 15000 | 12 |
125 | 20000 | 25000 | 24 |
125 | 30000 | 35000 | 36 |
140 | 0 | 0 | 0 |
140 | 14000 | 10000 | 12 |
140 | 20000 | 25000 | 24 |
870 | 0 | 0 | 0 |
870 | 10000 | 15000 | 12 |
870 | 12000 | 25000 | 24 |
870 | 14000 | 30000 | 36 |
870 | 15000 | 32000 | 48 |
900 | 0 | 0 | 0 |
900 | 12000 | 24000 | 12 |
900 | 13000 | 22000 | 24 |
900 | 14000 | 35000 | 36 |
a)
draw the curves
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
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
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.
for c) I would use small multiples
@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
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |