Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hola equipo,
Tengo una tabla con una columna que tiene valores separados por comas como se muestra a continuación.
Estoy intentando agregar una columna para mostrar el recuento de estos valores delimitados. por ejemplo: a continuación tiene 49 valores delimitados. la columna debe mostrar 49 junto a esta columna.
| AL, AZ, AR, CA, CO, CT, DE, DC, FL, GA, HI, ID, IL, IN, IA, KS, KY, LA, ME, MD, MA, MI, MN, MS, MO, MT, NE, NV, NH, NJ, NM, NY, NC, ND, OH, OK, OR, PA, RI, SC, SD, TN, TX, VT, VA, WA, WV, WI, WY |
Hola
Esta fórmula de columna calculada funciona
=LEN(Table1[Text])-LEN(SUBSTITUTE(Table1[Text],",",""))+1
Espero que esto ayude.
En Power Query, pruebe esto en una columna personalizada:
List.Count(Text.Split([State],","))
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.