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

Contar cierto texto en columna

Hola, chicos

Tengo esta columna que necesitaba contar toda "Y" en ella. ver imagen adjunta a la columna de destino. vea la fórmula también, ya que no sé por qué 'Text.containsall' no funciona en el campo de fórmula a continuación.

iyogj_1-1642332771421.png

Gracias por toda la ayuda.

Bien

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

Text.Contains(...) genera true/false y List.Count(true/false) no tiene sentido.

Prueba esto:

List.Count(List.Select(Text.Split([Merged], ","), each _ = "Y"))

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

¡Ya veo! Muchas gracias alexis.

Syndicate_Admin
Administrator
Administrator

Text.Contains(...) genera true/false y List.Count(true/false) no tiene sentido.

Prueba esto:

List.Count(List.Select(Text.Split([Merged], ","), each _ = "Y"))

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.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors
Top Kudoed Authors