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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
eamonnj1982
Frequent Visitor

Reporting on long text strings separated by a semi-colons

Hi,

 

I am trying to report on the results of a large survey where the users were allowed to select multiple reponses to each question. 

 

There was a separate database field created to record the responses to each question and if the user selected multiple responses then they are separated by a semi-colon in the field. 

 

For example (I have all the responses for Questions 1 stored like this):

Question1: Response 1;Response4;Response9

Question1: Response 2;Response8

Question1: Response 3;Response5;Response6

Question1: Response 4

 

Could anyone offer the best way to be able to report on each response?

 

Many thanks


1 ACCEPTED SOLUTION
ankitpatira
Community Champion
Community Champion

@eamonnj1982 I would suggest to split up responses column via power bi desktop query editor using semi-colon as delimiter. Then under Transform tab use Unpivot Column feature to convert collect all responses in one column against questions and then simply use Matrix visual to report on responses to each question.

View solution in original post

2 REPLIES 2
ankitpatira
Community Champion
Community Champion

@eamonnj1982 I would suggest to split up responses column via power bi desktop query editor using semi-colon as delimiter. Then under Transform tab use Unpivot Column feature to convert collect all responses in one column against questions and then simply use Matrix visual to report on responses to each question.

Thanks for the suggestion Ankit.  I'll give this a go. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors