Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
I want to be able to count within a table, the number of times a value appears within a column.
For example i have the data below with 5 employees. And a [Hierarchy Path] string column.
I want to be able to count the number of times the [Employee] appears within the Column, [Hierarchy path].
| Employee | Hierarhy Path | Column String Count |
| AA | EE | AA | 4 |
| BB | EE | AA | BB | 1 |
| CC | EE | AA | CC | 1 |
| DD | EE | AA | DD | 1 |
| EE | EE | 5 |
Solved! Go to Solution.
@Abawde1 ,
a new column
=
var _emp = [Employee]
return
countx(filter(Table, search(_emp, [Hierarhy Path],,0) >0) , [Employee])
Thank you amitchandak, works perfect
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 8 | |
| 8 | |
| 5 |