cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mrloopy
Regular Visitor

Line chart - Multiple questions and lines

I want to create something  similar to this...

choice.PNG

I have the data in this format... (products A,B,C,D,E)

data.PNG

I'm guessing this is pretty easy, but I just can't get it to work.  Any help would be appreciated.

thanks.

4 REPLIES 4
V-pazhen-msft
Community Support
Community Support

@mrloopy 

1. Press Ctrl, select the 3 columns with products, unpivot

2. Put the fields like this:

 percent line graph.JPG

 


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

 

 

 

thanks, I'm getting close.  The only thing is each question should add up to 100% (ex 4.32%, 4.325, 3.78% 3.78%, 3.78%), looks like all points add up to 100%.  How do I change that?

 

ex1.PNG

amitchandak
Super User
Super User

@mrloopy , First Unpivot it. and then use the question as Legend in Visual

https://radacad.com/pivot-and-unpivot-with-power-bi

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

Unpivot table done.

 

For the line chart, what do I put in the axis and value to show percertage of choice?

 

thanks.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.