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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hello,
I have 2 tables and I want the distinct count of HCP_MDM_ID from both.
I´m using the following measure
#ReachUnion =
COUNTROWS (
DISTINCT (
UNION (
VALUES ( EVENTS[HCP_MDM_ID] ),
VALUES ( INTERACTIONS[HCP_MDM_ID] )
)
)
)
Can you help me please
Solved! Go to Solution.
@rmeng Try:
#ReachUnion =
COUNTROWS (
FILTER(
DISTINCT (
UNION (
VALUES ( EVENTS[HCP_MDM_ID] ),
VALUES ( INTERACTIONS[HCP_MDM_ID] )
)
),
[HCP_MDM_ID] <> BLANK()
)
)
or try this:
#ReachUnion =
COUNTROWS (
DISTINCT (
UNION (
DISTINCT( EVENTS[HCP_MDM_ID] ),
DISTINCT( INTERACTIONS[HCP_MDM_ID] )
)
)
)
@rmeng Try:
#ReachUnion =
COUNTROWS (
FILTER(
DISTINCT (
UNION (
VALUES ( EVENTS[HCP_MDM_ID] ),
VALUES ( INTERACTIONS[HCP_MDM_ID] )
)
),
[HCP_MDM_ID] <> BLANK()
)
)
or try this:
#ReachUnion =
COUNTROWS (
DISTINCT (
UNION (
DISTINCT( EVENTS[HCP_MDM_ID] ),
DISTINCT( INTERACTIONS[HCP_MDM_ID] )
)
)
)
SOLUTION FOUND THANKS
User | Count |
---|---|
8 | |
8 | |
5 | |
4 | |
3 |