Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon'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.
Hi Team,
I have a table with a column which has comma seperated values as below.
I'm trying to add a column to show count of these delimited values. for example: below has 49 delimited values. the column should show 49 next to this column.
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 |
Solved! Go to Solution.
In Power Query, try this in a custom column:
List.Count(Text.Split([State],","))
Proud to be a Super User!
Hi,
This calculated column formula works
=LEN(Table1[Text])-LEN(SUBSTITUTE(Table1[Text],",",""))+1
Hope this helps.
In Power Query, try this in a custom column:
List.Count(Text.Split([State],","))
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
123 | |
78 | |
48 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |