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'd like to get a count of the amount of times different strings show up in another table.
Table of search values:
ID Text
1 Apple
2 Banana
3 Grapes
4 Orange
Table of data:
John | Apple, Banana |
Henry | Apple, Banana |
Jake | Orange |
Jennifer | Apple |
Jackie | Grapes, Orange |
Mike | Apple, Grapes |
How do I have the first table count this as the end result?:
ID Text Count
1 Apple 4
2 Banana 2
3 Grapes 2
4 Orange 2
Solved! Go to Solution.
For the full solution (involving filtering) you could split the column by delimiter, -> To Rows
then create a relationship using the first table as a dimension table
@morgtd30 there is no primary key between the two tables, how do you connect them?
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 | |
99 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |