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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors
Top Kudoed Authors