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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
cmcnally
Frequent Visitor

Separating values in a field for a count visual

Hi All,

 

Apologies if this has already been answered, I struggle to describe what I'm trying to do well enough to search the forum.

 

I have a PowerBi report that has a list of events taken from 2 different sources, a sharepoint list and a web XML feed. I'm using PowerBi to transform and merge the data. One of the fields I have is for audience and can contain multiple values separated by the pipe character "|".

 

How can I visual the counts of the individual audience categories?

 

Thanks

C

1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@cmcnally ,

In Power Query Editor, select the audience column.
Click on "Split Column" > "By Delimiter".
Choose | as the delimiter and select "Split into Rows".
Group By Audience:

Click on "Group By" in the Home tab.
Group by the audience column and add a new column with the operation "Count Rows".
Load Data:

Click "Close & Apply".




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

4 REPLIES 4
bhanu_gautam
Super User
Super User

@cmcnally ,

In Power Query Editor, select the audience column.
Click on "Split Column" > "By Delimiter".
Choose | as the delimiter and select "Split into Rows".
Group By Audience:

Click on "Group By" in the Home tab.
Group by the audience column and add a new column with the operation "Count Rows".
Load Data:

Click "Close & Apply".




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Thanks for your reply. Will splitting into rows cause duplicate entries for other visuals in the report? I'm a safer making a dupilcate table/query for that specific visual and would that cause performance issues with the Power Bi report? Thanks

I was able to use the reference feature to create new table for your suggested count function. Thank you @bhanu_gautam 

@cmcnally  You are welcome 




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.