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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
JohanFalk
New Member

Specified data to show in a line diagram

Hello!

I need some help getting the specified data to show in a line diagram .

i have like 9 questions, each question is a column.

 

I want to be able to select a question in a meny and only get the answer for that one.(for all people that have answered the question)

 

11.jpg

 

Best regards

Johan 

1 ACCEPTED SOLUTION
v-alq-msft
Community Support
Community Support

Hi, @JohanFalk 

 

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end. 

c1.png

 

You may make the question columns selected and then click 'Unpivot Columns' in 'Transform' ribbon.

c2.png

 

c3.png

 

In Power BI Desktop, you may create a matrix as below and use 'Questions' to filter the result.

c4.png

 

c5.png

 

Best Regards

Allan

 

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

2 REPLIES 2
v-alq-msft
Community Support
Community Support

Hi, @JohanFalk 

 

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end. 

c1.png

 

You may make the question columns selected and then click 'Unpivot Columns' in 'Transform' ribbon.

c2.png

 

c3.png

 

In Power BI Desktop, you may create a matrix as below and use 'Questions' to filter the result.

c4.png

 

c5.png

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you!

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 FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.