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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
gravanoc
Regular Visitor

Recognizing comma separated values individually for charts

Each row in my data set contains information on an asset that I'm analyzing for performance.  The performance isn't relevant to my question, but it does suggest a correlation between tags that appear in that tool's categories & the tool's relative success.   My goal is to display these tags in a (probably pie) chart where their slice size is influenced by the performance rating.  

 

Some of the tags appear in categories that are comma separated to indicate multiple results.  For example, in the Product column I might have one record show "Apple", one show "Banana", but another might be "Apple, Banana, Pear".  I experimented with the Text-to-Rows feature in Power Query, and it partially gets the result that I'm looking for, but it throws off some calculations of mine that are inflated by the number of new tools/rows.

 

In this picture, the left pie is the result from using the data that has not separated the CSVs into individual records, while the right pie has separated them into new rows.

gravanoc_0-1664995956368.png

 

In my opinion, the chart on the right is much better, but it is flawed by the issue I mentioned.  In addition to the new rows/tools created, tags end up being repeated alongside the ones being separated.  How can I ignore those extras and only count the newly separated tags?

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @gravanoc ,

You can refer the method in the following link to get it:

Match Multiple Values (Comma Delimited) Power BI

yingyinr_0-1665045114765.png

Power BI : Split Comma Separated Values into Filter List

yingyinr_1-1665045169660.png

If the above one is not your expected result, please provide more raw data in your table MP921000 (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @gravanoc ,

You can refer the method in the following link to get it:

Match Multiple Values (Comma Delimited) Power BI

yingyinr_0-1665045114765.png

Power BI : Split Comma Separated Values into Filter List

yingyinr_1-1665045169660.png

If the above one is not your expected result, please provide more raw data in your table MP921000 (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

I am facing a similar problem, althoough I understand the above solution works well but how to tackle if the same data has a fourth column that has some revenue or dollar values. In that case it is going to double the revenue numbers.

Please assist

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors