Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi, I need to create a measure that counts strings under one category. I have already access to the result but using
| acronym | |
| ++sub-category 1 | |
| ++sub-category 2 | |
| expected result | |
| count | |
| acronym | 2 |
@talaespinosa , simply DISTINCTCOUNT(table2[sub-category]) should give the count.
or try like
VAR in_text =
"acronym " & CONCATENATEX ( full_table, [count], ", " )
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |