Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have 3 columns called "ID" , "Description" and "Steps". Descrption contains texts. I would like to create a new column that counts the number of times "if" appears in each cell(row) of the column "description"
Solved! Go to Solution.
Here is one way to do it. You can add a custom column with this expression.
= List.Count(List.Select(Text.Split([Description], " "), each Text.Upper(_) = "IF"))
Pat
Here is one way to do it. You can add a custom column with this expression.
= List.Count(List.Select(Text.Split([Description], " "), each Text.Upper(_) = "IF"))
Pat
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.