Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
42 | |
21 | |
21 | |
14 | |
14 |
User | Count |
---|---|
42 | |
39 | |
33 | |
19 | |
18 |