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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Syndicate_Admin
Administrator
Administrator

Multiple records in the same column

Good, in the situation shown and for a visualization 'Graph of 100% stacked bars' representing on the X Axis the count of Column 2.

Is it possible that record No. 4 can be viewed as the count of 1 John and 1 Separate Antony?

The solution of separating the record into 2 rows leaving row 4 (4 / John / B) and also creating a new row with: (5 / Antonio / B) is not valid for me.

Column 1Column 2Column N
1DavidA
2JuanB
3AntonioC
4Juan, AntonioB

Thank you!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Syndicate_Admin ,

 

If you separate names by "," in column2, you can try this measure to count names in column2.

Count of Name = 
LEN ( MAX ( 'Table'[Column 2] ) )
    - LEN ( SUBSTITUTE ( MAX ( 'Table'[Column 2] ), ",", "" ) ) + 1

 Result is as below.

RicoZhou_0-1658912120701.png

 

Best Regards,
Rico Zhou

 

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
Anonymous
Not applicable

Hi @Syndicate_Admin ,

 

If you separate names by "," in column2, you can try this measure to count names in column2.

Count of Name = 
LEN ( MAX ( 'Table'[Column 2] ) )
    - LEN ( SUBSTITUTE ( MAX ( 'Table'[Column 2] ), ",", "" ) ) + 1

 Result is as below.

RicoZhou_0-1658912120701.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

No, not possible.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.