cancel
Showing results for 
Search instead for 
Did you mean: 
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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors
Top Kudoed Authors