The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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], ", " )
User | Count |
---|---|
68 | |
63 | |
59 | |
54 | |
28 |
User | Count |
---|---|
183 | |
80 | |
62 | |
46 | |
38 |