Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi am looking to to create a calculated column and measure looking at the amount of times a name appears and then get a count.
i.e. "derek" but the area i am struggling with is where multiple names occour in one cell i.e. " Josh Greg Jamie Susan" is there anyway to have a dax formual look into a colunm and pick out each individual occourance and count it?
Solved! Go to Solution.
@Jayfemi wrote:
Hi am looking to to create a calculated column and measure looking at the amount of times a name appears and then get a count.
i.e. "derek" but the area i am struggling with is where multiple names occour in one cell i.e. " Josh Greg Jamie Susan" is there anyway to have a dax formual look into a colunm and pick out each individual occourance and count it?
Not in DAX, but in Power Query, you shall re-model your data by split and unpivot.
@Jayfemi wrote:
Hi am looking to to create a calculated column and measure looking at the amount of times a name appears and then get a count.
i.e. "derek" but the area i am struggling with is where multiple names occour in one cell i.e. " Josh Greg Jamie Susan" is there anyway to have a dax formual look into a colunm and pick out each individual occourance and count it?
Not in DAX, but in Power Query, you shall re-model your data by split and unpivot.
| User | Count |
|---|---|
| 55 | |
| 37 | |
| 27 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 69 | |
| 58 | |
| 38 | |
| 21 | |
| 21 |