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
Rach01
New Member

Splitting values spearated by semi-colons, then grouping them

I have data that exists in a single column, but the data is separated by semi colon, I could visualize the data, however, I don't want to show the number of records for the combination of values, I want to show the # of results for each value. I want to show the # of results per keyword, not the # of results per the combination of this keyword with others. My visualization looks like this: PBI.png

 

 

 

 
6 REPLIES 6

Hi @Rach01,


is your problem solved?
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


V-lianl-msft
Community Support
Community Support

Hi @Rach01 ,
 
Could you please share sample data and expected results?(Please mask any sensitive data before uploading)
 
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Rach01 

 

use Split Column By Delimiter...

SplitByDelimiter.png

... and Split into Rows

SplitByDelimiterRow.png

Regards,

Marcus

Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


@mwegener Thanks for your reply. The issue here is it will make a separate row for each entry, which will duplicate other data in other columns. So if I have another tab in my report to get # of records for a specific value in another column, it will show wrong data. 

 

How can we do this? 

Hi,

Splitting data by rows is the only way to get your desired visual.  To count unique values thereafter, use the DISTINCTCOUNT() function.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi @Rach01 ,

 

try to create a "filter" table and link it with a many-to-many relationship.

LabelFilterTable.png

Regards,

Marcus

Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


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.