I have a table that contains a list of words and I would like to know how I can use DAX to do the following example:
| ID | Items |
|---|---|
| 1 | Apple |
| 2 | Banana |
| 3 | Apple, Banana |
| 4 | Orange, Apple |
| Items | Total |
|---|---|
| Apple | 3 |
| Banana | 2 |
| Orange | 1 |
The issue is some of the rows have more than one item and using Count only takes the first item on the list.
Output I don't want:
| Items | Total |
|---|---|
| Apple | 2 |
| Banana | 1 |
| Orange | 1 |
The current process I did was split the columns, use pivot, then do count.
