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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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
v-rzhou-msft
Community Support
Community Support

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
v-rzhou-msft
Community Support
Community Support

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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