Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi,
I have a table below. Tenant ID will always be unique. I need a measure for Incident Type, Priority, and Incident Root cause to get the result below.
Table :
Result expected :
Regards,
Ashfiya
Hi @FreemanZ ,
This will not work. I need count for every value present in Incident Type
Ex: Near miss is present for all three tenant ID, so count of near miss should be 3.
Aha, then you need to split [Incident Type] column and duplicate the rest columns first in Power Query. For example, a row with 3 incident types, there will be 3 rows.
I do not want to go with that approach since I will have 40 more comma-separated columns with different values.
So I need a calculated measure.
Thank You!
@amitchandak @Greg_Deckler @Jihwan_Kim Please help
@Anonymous Assuming you have an Incidents type table somewhere you could do this:
Measure =
VAR __Type = MAX('Types'[Type])
VAR __Table =
ADDCOLUMNS(
'Table',
"__Found",SEARCH(__Type,[Incident Type],,-1)
)
VAR __Result = COUNTROWS(FILTER(__Table, [__Found] > -1))
RETURN
__Result
Hi @Greg_Deckler
Thanks for the reply. I will not have an Incident Type table. My issue is there are more than 40 such columns, so having 40 tables will lower the performance.
Any different approach?
Note : using MongoDb as Datasource which is very very slow.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 7 |