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.
Hello,
My table follows this structure:
Name | Response |
Alex | [{"title":"hello, there","satisfaction":"true"},{"title":"response number 2","satisfaction":"true"}, {"title":"response number 3","satisfaction":"false"}] |
Alfred | [{"title":"hello, there","satisfaction":"true"},{"title":"response number 2","satisfaction":"true"}, {"title":"response number 3","satisfaction":"true"}, {"title":"response number 4","satisfaction":"true"}, {"title":"response number 5","satisfaction":"true"}] |
I would like to create a new column that counts the number of occurrences of the word "true" in the Response column for each row in my table.
My expected result would be something like this:
Name | Response | Number of Occurrences |
Alex | [{"title":"hello, there","satisfaction":"true"},{"title":"response number 2","satisfaction":"true"}, {"title":"response number 3","satisfaction":"false"}] | 2 |
Alfred | [{"title":"hello, there","satisfaction":"true"},{"title":"response number 2","satisfaction":"true"}, {"title":"response number 3","satisfaction":"true"}, {"title":"response number 4","satisfaction":"true"}, {"title":"response number 5","satisfaction":"true"}] | 5 |
Can someone help me?
Solved! Go to Solution.
Hello, this will work:
Hello, this will work:
This is perfect! Thank you 🙂
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.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |