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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Dividir nombres y registrar la suma del recuento

Hola

Tengo una columna de nombres en una tabla que se ve así:

Joe Blogs

John Smith

Sarah Persona; John Smith

Joe Blogs

Quiero ser capaz de graficar el recuento de cada persona, de tal manera que:

Blogs de Joe: 2

John Smith: 2

Sarah Persona: 1

Sin embargo, no puedo conseguir separarlo cuando hay dos nombres, por lo que se ve así:

Blogs de Joe: 2

John Smith: 1

Sarah Persona; John Smith: 1

Sarah Persona: 1

¿Cómo podría ser capaz de hacer esto sin crear una nueva columna, etc.?

2 REPLIES 2
v-kelly-msft
Community Support
Community Support

Hola @DaveMcD ,

Vaya al editor de consultas>dividir columnas:

v-kelly-msft_0-1606468331241.png

Y verás:

v-kelly-msft_1-1606468364038.png

A continuación, elimine los espacios en blanco:(usando los valores de reemplazo)

v-kelly-msft_2-1606468408467.png

Por último, cree una medida como se muestra a continuación:

Measure = COUNT('Table'[Name])

Y verás:

v-kelly-msft_3-1606468509915.png

Para el archivo .pbix relacionado, pls ver adjunto.

Saludos
Kelly

¿He respondido a tu pregunta? ¡Marca mi puesto como una solución!

amitchandak
Super User
Super User

@DaveMcD , mejor id dividir la columna en la consulta de energía por filas

https://www.tutorialgateway.org/how-to-split-columns-in-power-bi/

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.