cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

how to build line graph, using 10 separate points(values)? I also have to show legend on the graph

I don't have graph function(measure) that i can use to put in values field, just points. Is it possible to create a graph? or perhaps can you please help me to write a measure(function)? I have x1,x2,x3,x4..x10; y1,y2,y3,y4,y5...y10. x in one table, y in another table. Thanks a lot in advance!

6 REPLIES 6
Greg_Deckler
Super User
Super User

Use a Bubble Chart.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Thank you. But I need to build a line graph

Hi , @Anonymous 

As mentioned by @Greg_Deckler ,if you must  need to build a line graph ,the only way  is to change the line width to 0.

But I'm still curious why you must use a line chart.Other visuals may render better and more convenient than a line chart.

 

Best Regards,
Community Support Team _ Eason

 

 

Oh, OK, @Anonymous , if you must... 🙂

 

Attached PBIX

  1. Set x-axis to Categorical
  2. Shapes - Stroke Width = 0
  3. Shapes - Marker on

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Thank you Greg,

the problem is that I have opposite situation.I don't have x in the table. In the table I have x1,x2,x3,x4....x10.And using them I need to build a regular line graph.

Thank you!

Ethel

Hi , @Anonymous 

Not very clear what your said “don't have x in the table”.

Can you explain bit more  ?

Sample data for two tables   and expected result  will make it easier for us to understand and  solve your problem.

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Exciting changes

Power BI Community Changes

Check out the changes to the Power BI Community announced at Build.

May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Kudo Data Story carousel

Data Stories Gallery

Visit our Data Stories Gallery and give kudos to your favorite Data Stories.

Top Solution Authors