Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hey all, I'm trying to only count the number of "contact_no" where any of the actions (they all start with "C200" ) appear within that record.
If it doesn't contain any "C200" I dont want it to count them.
Solved! Go to Solution.
Hi @Dan492813
Please try
Count stage 2 =
SUMX (
VALUES ( hgmcntct[contact_no] ),
IF (
NOT ISEMPTY (
FILTER (
CALCULATETABLE ( VALUES ( hgmcntac[action_cd] ) ),
CONTAINSSTRING ( hgmcntac[action_cd], "C200" )
)
),
1
)
)
Hi @Dan492813
Please try
Count stage 2 =
SUMX (
VALUES ( hgmcntct[contact_no] ),
IF (
NOT ISEMPTY (
FILTER (
CALCULATETABLE ( VALUES ( hgmcntac[action_cd] ) ),
CONTAINSSTRING ( hgmcntac[action_cd], "C200" )
)
),
1
)
)
You're a star tamerj1 as always.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
71 | |
36 | |
21 | |
19 | |
15 |
User | Count |
---|---|
125 | |
37 | |
29 | |
29 | |
24 |