Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
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?
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.