Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 21 | |
| 10 | |
| 8 | |
| 8 |